Commit Graph

255 Commits

Author SHA1 Message Date
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
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