Commit Graph

36 Commits

Author SHA1 Message Date
Archit Gupta
2efcf8291e lkl: Let mount find lklfuse mount helper
This enables mount to find lklfuse when mounting with the type
"fuse.lklfuse". With this fix, lklfuse can be used to mount filesystems
with NixOS filesystem options.

This is the same fix as has been applied to bindfs, mergerfs, and
apfs-fuse.
2023-06-30 16:27:11 -07:00
Tobias Markus
37fc8dfe31 lkl: Fix kallsyms build error on i686 2023-05-19 23:34:42 +02:00
Yureka
5d6b2ea5fb lkl: fix lkl-hijack on aarch64 with gcc10+ 2023-03-07 16:50:02 +01:00
Yureka
b2e0b360ab
lklWithFirewall: re-add CONFIG_NFT_COUNTER option (#219699) 2023-03-05 21:31:24 +01:00
K900
32bc50dc36 lkl: add raitobezarius to maintainers
(as requested on Matrix)
2023-03-04 11:05:10 +03:00
K900
dc01a82282 lkl: add note for future update attempts 2023-03-04 11:01:44 +03:00
Yureka
a84a25c3ae lkl: downgrade to 5.15 2023-03-04 00:38:17 +01:00
Yureka
55da71c10e
nixos/nftables: add checkRuleset option (#216531)
* nixos/nftables: add checkRuleset option

* lkl: 2022-05-18 -> 2023-01-27
2023-03-02 10:28:01 +01:00
Yureka
502c8c1587 lklWithFirewall: init
There is a pull request in the LKL repo adding firewall support:
https://github.com/lkl/linux/pull/431
It simply enables the appropriate options in the kernel config, since
the framework is already there.
It has not been merged yet, because enabling these options by default
would lead to bigger lkl binaries and an overall slowdown for all users.
However, since we can provide an opt-in variant with Firewall support,
there is no reason not to do it.

This is very useful for nftables rule checking without having access to
the kernel interface.
2022-09-21 08:17:34 +02:00
Yuka
23aff1fce8
lkl: 2019-10-04 -> 2022-05-18 (#190976) 2022-09-14 21:04:46 +02:00
Sandro Jäckel
f355889075
lkl: move all patching to postPatch, simplify meta.platforms, cleanup 2022-08-21 17:30:18 +02:00
Frederik Rietdijk
48d060a81c lkl: use python3 2021-07-27 20:37:06 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vladimír Čunát
627a9ff433
lkl: fixup build after PR #78994 2020-02-20 21:07:43 +01:00
Joachim Fasting
a1febca9fc lkl: 2019-06-20 -> 2019-10-04 2019-10-06 13:38:12 +09:00
Ben Wolsieffer
721b391f93 lkl: 2018-08-22 -> 2019-06-20
Fixes the build on 32-bit ARM, which enables the generation of SD card images
on these platforms.
2019-07-05 08:06:09 +02:00
Ben Wolsieffer
95c412ab61 lkl: fix cross 2019-06-07 18:00:46 -04:00
Ben Wolsieffer
2ebb4a358c lkl: install liblkl.so and liblkl-hijack.so 2019-02-01 23:31:50 -05:00
Joachim Fasting
dd1b66e5d4
lkl: 2018-03-10 -> 2018-08-22
Among other things, this brings lkl up to linux 4.16
2018-10-15 19:17:09 +02:00
Yuriy Taraday
691fe19db9 lkl: 2017-11-10 -> 2018-03-10
Bump lkl version to latest that includes merge of Linux 4.15 and fix for
an issue where cptofs wasn't returning failure when image size was too
small and file copying failed with:

  error writing file: No space left on device

(see lkl/linux#427)
2018-03-18 08:38:26 +02:00
Tuomas Tynkkynen
91d2cf9642 lkl: Supports aarch64
ARMv6 and ARMv7 didn't work when I tried.
2017-11-22 00:01:13 +02:00
Orivej Desh
b8cc69b31e lkl: 2017-10-18 -> 2017-11-10 2017-11-11 20:25:18 +00:00
Joachim Fasting
a8a38feeeb
lkl: 2017-08-09 -> 2017-10-18
Based on linux 4.13
2017-10-18 22:11:37 +02:00
Dan Peebles
ed55bdb501 lkl: 2017-06-27 -> 2017-08-09
Just bumping the package version to pick up a bugfix.

Fixes #28055
2017-08-09 14:23:27 +00:00
Joachim Fasting
0bc3429e77
lkl: 2017-03-24 -> 2017-06-27
Now based on Linux 4.11
2017-06-28 20:14:00 +02:00
Joachim Fasting
49ecd62c08
lkl: split outputs
Breaking out lib allows users to link against lkl without pulling the
kitchen sink into their closure.
2017-05-24 01:07:26 +02:00
Joachim Fasting
e0b623a56d
lkl: break description into longDescription and a briefer descr 2017-05-24 01:07:24 +02:00
Joachim Fasting
8c8f40a128
lkl: d747073 -> 2017-03-24
- Moves to a more recent kernel (4.10, I think ...)
- API break re the previous version
- cptofs: fix root directory copy
- add support for disks with custom ops
- add LKL_HIJACK_NET_QDISC to configure qdisc policy
- add LKL_HIJACK_SYSCTL to configure sysctl values
2017-05-24 01:07:23 +02:00
Joachim Fasting
e983d4306e
lkl: bc & python are native build inputs 2017-05-24 01:07:22 +02:00
Joachim Fasting
e845495edb
lkl: add meta.homepage 2017-05-24 01:07:14 +02:00
Joachim Fasting
874b81b31f
treewide: s,enableParallelBuild(s),enableParallelBuilding,g 2017-05-20 17:16:17 +02:00
Tuomas Tynkkynen
439facec2a lkl: Broken on i686
http://hydra.nixos.org/build/49534265
2017-03-02 03:59:31 +02:00
Dan Peebles
ed83ec1b65 lkl: fix impure reference to /usr/bin/env 2017-01-25 21:30:59 +00:00
Dan Peebles
3ab26fdb70 lkl: update to d7470730 2017-01-17 18:40:58 +00:00
Dan Peebles
f1a9bc356e lkl: init 2017-01-16 21:24:32 +00:00