Commit Graph

268 Commits

Author SHA1 Message Date
illiliti
2e4a13cc9d tinyramfs: add keyboard drivers to initramfs image 2022-03-21 07:28:22 +03:00
illiliti
53524bb1a1 hook/zfs/zfs.init: load key for all pools 2022-03-21 07:28:22 +03:00
illiliti
41ca40c392 lib/common.sh: unquote local var 2022-03-21 07:28:22 +03:00
illiliti
c1c3457fbd tinyramfs: minor changes 2021-08-15 10:38:07 +03:00
illiliti
760ecd29d6 test/*: increase memory in qemu vm 2021-08-15 10:37:16 +03:00
illiliti
a0c32126a8 *: fix multilib 2021-08-15 10:35:09 +03:00
illiliti
3c7b763f60 hook/systemd-udev: unbreak
tested on arch linux and ubuntu
2021-08-15 10:31:47 +03:00
illiliti
2e91b2f6eb test/Makefile: minor change 2021-08-13 13:16:14 +03:00
illiliti
987af10a82 test/*: remove essential tools checker 2021-08-05 09:08:04 +03:00
illiliti
9f12880096 test/*: rewrite check.sh in Makefile 2021-08-05 09:03:47 +03:00
illiliti
30a0f61955 test/*: fix rare race issue due to qemu-nbd non-blocking mode 2021-08-05 08:56:22 +03:00
illiliti
23c277b059 test/*: do not hardcode nbd device 2021-08-05 08:43:29 +03:00
illiliti
5adc1faf2b readme: minor change 2021-08-05 00:28:15 +03:00
illiliti
5f28cd09d2 lib/helper.sh: fix shellcheck 2021-08-04 20:15:07 +03:00
illiliti
2c8c8cd959 meta: add shellcheck 2021-08-04 20:10:58 +03:00
illiliti
1f2b391f9d tinyramfs: fix incorrect path to modules 2021-08-02 20:43:26 +03:00
illiliti
4a16c0f042 test/check.sh: return proper status code on error 2021-07-31 21:37:49 +03:00
illiliti
189756fce2 Revert "test/*: skip test if essential module not loaded"
This reverts commit b9d168b0e6.

This breaks kernels with builtin modules.
2021-07-31 21:17:17 +03:00
illiliti
015c0f3f0f test/check.sh: explicitly load dm_* modules 2021-07-31 21:07:53 +03:00
illiliti
b9d168b0e6 test/*: skip test if essential module not loaded 2021-07-31 21:06:35 +03:00
illiliti
c9da1e8a55 readme: update status 2021-07-31 20:53:39 +03:00
illiliti
ebd62388e0 readme: add zfs 2021-07-31 20:49:20 +03:00
illiliti
ca83375f26 lib/common.sh: remove dev leftover 2021-07-31 20:35:33 +03:00
illiliti
500efe5d38 test/*: introduce basic tests
Next step is CI.
2021-07-31 20:25:47 +03:00
illiliti
ed509c72a6 hook/zfs: implement zfs+native encryption support
Closes: #24
2021-07-31 20:21:52 +03:00
illiliti
a468c11a30 *: refactor
Documentation will be rewritten and added later.
2021-07-31 20:20:16 +03:00
illiliti
7bfc7fe315 tinyramfs: fix copying libraries if system is multilib
tested on ubuntu
2021-07-04 15:55:28 +03:00
illiliti
e2b3cc1e1a hooks/luks: double-quote variables 2021-07-04 15:53:47 +03:00
illiliti
93a9cffaf1 hooks/luks.init: allow word-splitting to remove empty args
Fixes: #25
2021-06-24 04:16:27 +03:00
illiliti
8abfcc9052 tinyramfs: fix init* hooks not getting copied
copy_file overwrites global _dir variable which lead to skipping
copying init* hooks.
2021-05-21 22:24:08 +03:00
illiliti
81370bb5ac tinyramfs: kill command isn't actually needed 2021-05-16 02:39:18 +03:00
illiliti
a5e572c0c3 tinyramfs: fix regression in copy_binary() 2021-05-12 15:24:57 +03:00
illiliti
d7991ea80b init: do not redirect shell output to stderr 2021-05-11 13:06:58 +03:00
illiliti
19d06826f3 init: make mount options safe from word splitting 2021-05-11 13:04:02 +03:00
illiliti
f9f2dbfd40 device-helper: move /dev/disk/by- to create_symlink() 2021-05-11 12:49:29 +03:00
illiliti
c7d9f9ad76 device-helper: reduce time count 2021-05-11 12:38:51 +03:00
illiliti
7a6aaf0850 device-helper: avoid redundant blkid call 2021-05-11 12:37:45 +03:00
illiliti
cddf2ff836 docs: regenerate man pages 2021-05-10 16:13:25 +03:00
illiliti
db22e16dc9 tinyramfs: suppress output of command -v ldd 2021-05-10 16:05:36 +03:00
illiliti
e5e289284b readme: ldd is optional 2021-05-10 16:04:13 +03:00
illiliti
0b96f116dd tinyramfs: simplification and cleanup 2021-05-10 16:02:38 +03:00
illiliti
bd16dcbd77 tinyramfs: code cleanup 2021-05-10 14:42:11 +03:00
illiliti
50d18b28a5 init: make resolve_device() more readable 2021-05-10 14:40:38 +03:00
illiliti
1d8b2ca1e9 init: code cleanup 2021-05-10 14:35:34 +03:00
illiliti
654a787074 device-helper: update docs 2021-05-10 14:34:51 +03:00
illiliti
61e9112142 hooks/*: code cleanup 2021-05-10 14:30:22 +03:00
illiliti
e8858c1d34 device-helper: sleep conditionally
Call sleep in loop instead of hoping that sleep 2 is enough.
2021-05-10 11:24:59 +03:00
illiliti
91c6692e80 reame: update 2021-05-10 11:22:33 +03:00
illiliti
5d8dc4e295
Merge pull request #19 from trbednarzyk/patch-1
Fix bug in lvm hook with lvm_discard unset
2020-11-19 17:18:51 +03:00
Timothy Robert Bednarzyk
6bebe0ba50
Fix bug in lvm hook with lvm_discard unset 2020-11-18 20:54:44 -05:00