Compare commits
4 Commits
c320d0afc7
...
8cff11d0a3
Author | SHA1 | Date | |
---|---|---|---|
8cff11d0a3 | |||
95f27eaf84 | |||
ba80e66696 | |||
6a9b14f965 |
16
CONTRIBUTING.md
Normal file
16
CONTRIBUTING.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Contributing
|
||||||
|
|
||||||
|
[ This is a placeholder, because it's early days and the volume of contributions thus far can be counted in an eggcup ]
|
||||||
|
|
||||||
|
* Contributions are very welcome
|
||||||
|
|
||||||
|
* Please open an issue (or otherwise establish some kind of dialogue) before you send a PR I haven't asked for.
|
||||||
|
Just so I know it's expected and you're not wasting time doing something I won't accept or have already started on
|
||||||
|
|
||||||
|
* The Nix code in Liminix is MIT-licenced (same as Nixpkgs), but the code it combines from other places (e.g. Linux, OpenWRT) may
|
||||||
|
have a variety of licences. I have no intention of asking for copyright assignment: just like when submitting to the
|
||||||
|
Linux kernel you retain the copyright on the code you contribute.
|
||||||
|
|
||||||
|
* Please govern yourself in Liminix project venues according to the guidance in the [geekfeminism "Community Anti-harassment Policy"](https://geekfeminism.wikia.org/wiki/Community_anti-harassment/Policy).
|
||||||
|
|
||||||
|
* If you've read the preceding bullets and don't find anything to disagree with, open a PR
|
24
LICENSE
Normal file
24
LICENSE
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
This is the MIT License. It applies to all original Nix code in
|
||||||
|
Liminix, and the code which was copied from NixWRT. Content from
|
||||||
|
other projects (e.g the Linux kernel project, OpenWrt) is included.
|
||||||
|
under the terms of the licences of those projects.
|
||||||
|
|
||||||
|
Copyright (c) 2018-2022 Daniel Barlow and contributors
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
SOFTWARE.
|
14
README.md
14
README.md
@ -125,6 +125,20 @@ filesystem, and you can run `nix-store --query` on it:
|
|||||||
nix-store -q --tree manifest
|
nix-store -q --tree manifest
|
||||||
|
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Contributions are welcome, though in these early days there may be a
|
||||||
|
bit of back and forth involved before patches are merged. Have a read
|
||||||
|
of [CONTRIBUTING](CONTRIBUTING.md) and [STYLE](STYLE.md) and try to
|
||||||
|
intuit the unarticulated vision :-)
|
||||||
|
|
||||||
|
Liminix' primary repo is https://gti.telent.net/dan/liminix. There's a
|
||||||
|
[mirror on Github](https://github.com/telent/liminix) for convenience
|
||||||
|
and visibility: you can open PRs against that but be aware that the
|
||||||
|
process of merging them may be arcane. Some day, we will have
|
||||||
|
federated Gitea using ActivityPub.
|
||||||
|
|
||||||
|
|
||||||
## Articles of interest
|
## Articles of interest
|
||||||
|
|
||||||
* [Build Safety of Software in 28 Popular Home Routers](https://cyber-itl.org/assets/papers/2018/build_safety_of_software_in_28_popular_home_routers.pdf):
|
* [Build Safety of Software in 28 Popular Home Routers](https://cyber-itl.org/assets/papers/2018/build_safety_of_software_in_28_popular_home_routers.pdf):
|
||||||
|
@ -14,7 +14,7 @@ let
|
|||||||
] nixpkgs.pkgs;
|
] nixpkgs.pkgs;
|
||||||
squashfs = liminix.builders.squashfs config.filesystem.contents;
|
squashfs = liminix.builders.squashfs config.filesystem.contents;
|
||||||
kernel = callPackage ./kernel {
|
kernel = callPackage ./kernel {
|
||||||
inherit (config.kernel) config;
|
inherit (config.kernel) config checkedConfig;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -231,10 +231,6 @@
|
|||||||
NET_ACT_PEDIT= "m";
|
NET_ACT_PEDIT= "m";
|
||||||
NET_ACT_SIMP= "m";
|
NET_ACT_SIMP= "m";
|
||||||
NET_ACT_SKBEDIT= "m";
|
NET_ACT_SKBEDIT= "m";
|
||||||
CFG80211= "m";
|
|
||||||
MAC80211= "m";
|
|
||||||
MAC80211_MESH= "y";
|
|
||||||
RFKILL= "m";
|
|
||||||
DEVTMPFS= "y";
|
DEVTMPFS= "y";
|
||||||
CONNECTOR= "m";
|
CONNECTOR= "m";
|
||||||
MTD= "y";
|
MTD= "y";
|
||||||
@ -437,7 +433,12 @@
|
|||||||
RCU_CPU_STALL_TIMEOUT = "60";
|
RCU_CPU_STALL_TIMEOUT = "60";
|
||||||
ENABLE_DEFAULT_TRACERS = "y";
|
ENABLE_DEFAULT_TRACERS = "y";
|
||||||
|
|
||||||
|
CFG80211= "y";
|
||||||
|
MAC80211= "y";
|
||||||
|
MAC80211_MESH= "y";
|
||||||
|
RFKILL= "y";
|
||||||
|
WLAN = "y";
|
||||||
|
MAC80211_HWSIM = "y";
|
||||||
SQUASHFS = "y";
|
SQUASHFS = "y";
|
||||||
SQUASHFS_XZ = "y";
|
SQUASHFS_XZ = "y";
|
||||||
VIRTIO_PCI = "y";
|
VIRTIO_PCI = "y";
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
|
||||||
, config
|
, config
|
||||||
|
, checkedConfig
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
source = fetchFromGitHub {
|
source = fetchFromGitHub {
|
||||||
@ -36,7 +37,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
vmlinux = callPackage ./vmlinux.nix {
|
vmlinux = callPackage ./vmlinux.nix {
|
||||||
inherit tree;
|
inherit tree config checkedConfig;
|
||||||
inherit config;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user