100 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
illiliti 4c554e0408 fixes #18 2020-11-11 20:22:30 +03:00
illiliti ee6fea9a50 cleanup 2020-09-10 22:53:39 +03:00
illiliti 4f94d6e40c allow setting root option to pseudofs. fixes #16 2020-09-10 19:41:12 +03:00
illiliti cab221b1c9 update readme 2020-09-09 13:03:55 +03:00
illiliti baa60016e1 fix bad error checking. fixes #15 2020-09-09 12:05:51 +03:00
illiliti 36435d6773 handle case when file and dest have same basenames 2020-09-08 23:32:54 +03:00
illiliti 9ca7b1c590 explicitly set destination path 2020-09-08 22:36:20 +03:00
illiliti 55e32d6457 update docs 2020-09-08 22:34:45 +03:00
illiliti a5c5f34a66 document kernel command-line parameters 2020-09-07 09:55:41 +03:00
illiliti da3671d873 document resolve_device 2020-09-07 09:53:08 +03:00
illiliti 50d4103a40 minor change 2020-09-07 09:50:28 +03:00
illiliti fbbeecf193 cleanup copy_hook 2020-09-06 16:46:46 +03:00
illiliti 0de5103945 update man page 2020-09-06 09:59:12 +03:00
illiliti bfc17ca23a fix regression 2020-09-06 09:58:48 +03:00
illiliti 149b88625d add man page about hooks 2020-09-04 15:09:15 +03:00
illiliti 9670abfc33 update readme 2020-09-04 11:47:16 +03:00
illiliti 5732ee2750 update preamble 2020-09-04 11:42:47 +03:00
illiliti fbb6a8c453 update man pages 2020-09-04 11:34:59 +03:00
illiliti a801d75f4d add man page to uninstall 2020-09-04 09:14:41 +03:00
illiliti 3121156990 add make to deps 2020-09-04 09:00:59 +03:00
illiliti 0c973dce14 remove example config 2020-09-04 08:53:29 +03:00
illiliti 5c46534e22 introduce man pages 2020-09-04 08:49:45 +03:00
illiliti bbaa32bb27 minor change 2020-09-04 08:40:42 +03:00
illiliti dacc7d8af7 cleanup 2020-09-04 01:29:37 +03:00
illiliti 445208899a Merge pull request #14 from TheBrainScrambler/master
Keymap hook
2020-09-01 14:16:44 +03:00
illiliti d763f6ff37 update readme 2020-08-30 01:35:08 +03:00
illiliti 9837823f82 fix symlink loop 2020-08-29 22:33:12 +03:00
illiliti 3cd153267a toybox cp fixed 2020-08-24 17:13:17 +03:00
illiliti efbfe09094 drop chmod 2020-08-24 17:09:33 +03:00
illiliti 601bca3510 temporary fix for symlink loop 2020-08-21 22:17:22 +03:00
illiliti 90fcb090d1 fix glibc ldd 2020-08-21 21:52:18 +03:00
illiliti a33a2c1714 stop udev via udevadm 2020-08-07 02:32:39 +03:00
illiliti 1a827fa8f7 update readme 2020-08-05 00:52:57 +03:00
illiliti 5eae5cd6a9 move device managers to hooks 2020-07-27 11:32:22 +03:00
illiliti 32a38b17a5 remove workaround 2020-07-26 06:31:20 +03:00
illiliti 0e59989631 add donation link 2020-07-19 03:13:13 +03:00
illiliti be2df26e38 implement /proc hotplugger 2020-07-15 23:26:12 +03:00
illiliti 888cf4d878 make blkid optional 2020-07-15 22:23:12 +03:00
illiliti 8f3b68dd38 change example to avoid confusion 2020-07-15 21:53:37 +03:00
illiliti 8016dc58f0 minor changes 2020-07-15 21:50:47 +03:00
illiliti 451d68f9f2 fix systemd-udevd 2020-07-15 21:34:27 +03:00
illiliti cfe0184eb4 small fixes 2020-07-05 11:11:39 +03:00
illiliti 5a0aeb128f fix permissions 2020-07-05 09:02:21 +03:00
illiliti dd01d03775 more shellcheck fixes 2020-07-03 18:49:09 +03:00
illiliti ef1165de3c add some fixes for shellcheck. fix if else 2020-06-28 07:44:36 +03:00
illiliti 2e1b75d3c6 nitpick 2020-06-28 07:18:53 +03:00
illiliti 056eae009b remove shortest, not longest 2020-06-28 07:17:25 +03:00
illiliti 9c16bad562 improve portability, code quality, fix bugs, etc... 2020-06-28 06:58:57 +03:00
illiliti 1287f2996b cleanup 2020-06-02 14:26:42 +03:00
illiliti 2d26ea0377 continue instead of terminating 2020-05-28 12:17:49 +03:00
illiliti 129ad17b36 prevent kernel panic if variables are invalid 2020-05-27 11:35:05 +03:00