t0b3
4dcb7d2121
Update 00-crypt.sh
...
REAL_{ROOT,RESUME} value needs to be set for _open_luks to enable linking
11 years ago
t0b3
4cbc017937
Update 00-crypt.sh
...
fix typo rendering the system unbootable
11 years ago
Fabio Erculiani
daebb4a970
modules_load: add ohci-pci, fixes Sabayon bug #4396
11 years ago
Fabio Erculiani
748e991ecf
00-fsdev.sh: add _is_mdadm helper function
11 years ago
Fabio Erculiani
f92804c752
00-rootdev.sh: always use the blkid detected fstype unless rootfstype= is passed
11 years ago
Fabio Erculiani
a2f34d906b
00-crypt.sh: delay the initialization of md devices until the end of start_luks
...
This will make possible to avoid to create degraded md devices
11 years ago
Fabio Erculiani
451fac91b4
00-fsdev.sh: use more compact code in start_volumes
11 years ago
Fabio Erculiani
cd1cf77029
00-fsdev.sh: move md arrays initialization code to start_md_volumes
11 years ago
Fabio Erculiani
d5ebdb3e56
00-crypt.sh: drop stale comment
11 years ago
Fabio Erculiani
763daca7d5
00-crypt.sh: start_luks: remove bogus sleep 6 calls.
...
We expect to fix the issue at its root as soon as bugs come in.
11 years ago
Fabio Erculiani
9d8d7c0c07
genkernel: use udev instead of mdev by default
11 years ago
Fabio Erculiani
2d19fc6fc8
00-crypt.sh: do not remove ancestors of /mnt/key, that's just silly
11 years ago
Fabio Erculiani
d600083137
00-crypt.sh: move /mnt/key to ${MNT_KEY} (variable local to file)
11 years ago
Fabio Erculiani
6938105c74
00-crypt.sh: move ${CRYPTSETUP_BIN} variable from initrd.defaults
11 years ago
Fabio Erculiani
ac3822ad30
00-crypt.sh: move /sbin/cryptsetup path to ${CRYPTSETUP_BIN}
11 years ago
Fabio Erculiani
e712c6d76a
00-common.sh: include initrd.defaults
11 years ago
Fabio Erculiani
8091f7bc16
initrd.defaults: uniform quotes to double
11 years ago
Fabio Erculiani
458ae15f08
initrd.defaults: don't use backticks
11 years ago
Fabio Erculiani
f2a9d77a28
initrd.defaults: QUIET=1 is useless here, it's defined in linuxrc
11 years ago
Fabio Erculiani
ee6524c4f9
00-crypt.sh: drop fixed TODO
11 years ago
Fabio Erculiani
c27eb25a0b
00-crypt.sh: _bootstrap_key: use local variables
11 years ago
Fabio Erculiani
b4307cc484
initramfs: add support for multiple crypted root and swap devices
...
It is now possible to pass multiple crypt_roots= and crypt_swaps=
parameters (mind the "s") and have multiple devices concurring to
building the final root device and swap areas activated.
The change is backward compatible and crypt_root=, crypt_swap= is
still fully supported.
This change makes possible to support multiple device mapper block
devices grouped together into aggregated software raid devices.
For instance, two individual luks devices can be now used to build
a single raid0 or raid1 md device.
Moreover, genkernel-next initramfs now supports multiple encrypted
swap devices.
11 years ago
Fabio Erculiani
cda54cd13b
00-livecd.sh: de-hardcode /dev/mapper/root, use ${REAL_ROOT}
11 years ago
Fabio Erculiani
718996ddc4
00-livecd.sh: de-hardcode /dev/loop0, use losetup -f instead
...
Assuming that /dev/loop0 is free is really stupid.
11 years ago
Fabio Erculiani
93f04c508b
gen_initramfs.sh: add /sbin/losetup symlink
...
This will make possible to remove hardcoded /dev/loop0 paths
11 years ago
Fabio Erculiani
e4426f1a80
00-crypt.sh: improve support for crypt over LVM and LVM over crypt, add swap support
11 years ago
Fabio Erculiani
aea5fc4a9d
00-crypt.sh: add tailing "/" to ${REAL_ROOT} grep
11 years ago
Fabio Erculiani
06ee07bf94
00-crypt.sh: start to de-hardcode root=/dev/mapper/root requirements
...
When cryptsetup is in use for the root filesystem, user was either
forced to have root=/dev/mapper/root or no root= in cmdline.
However, grub2 sets its own root= variable and we should really
respect it if it's a /dev/mapper entry
11 years ago
Fabio Erculiani
33a5119a78
00-crypt.sh: tentatively drop one horrible "sleep" call
...
Thomas Bettler reported that things seem to work, but more testing
may be needed.
11 years ago
Fabio Erculiani
d3601914df
00-crypt.sh: fix undefined function, s/err_msg/bad_msg/
...
Thanks to Thomas Bettler for reporting
11 years ago
Fabio Erculiani
9c919f2954
gen_initramfs: drop hardcoded libply-splash-core.so.2 path
11 years ago
Fabio Erculiani
8f4c854059
gen_initramfs: libply-splash-core.so.* moved to /usr/lib
...
This is still part of the ridiculous, pointless and unsafe plymouth
move to /usr
11 years ago
Fabio Erculiani
3ba9860667
Revert "gen_initramfs: libply-splash-core.so.* moved to /usr/lib"
...
This reverts commit bdf9e5a180
.
11 years ago
Fabio Erculiani
bdf9e5a180
gen_initramfs: libply-splash-core.so.* moved to /usr/lib
...
This is still part of the ridiculous, pointless and unsafe plymouth
move to /usr
11 years ago
Fabio Erculiani
368282d9ec
initrd.defaults, gen_initramfs: /bin/plymouth moved to /usr/bin
...
And this is just ridiculous!
11 years ago
Fabio Erculiani
25cd48cd6f
initrd.defaults, gen_initramfs: plymouthd is actually in /usr/sbin, bug #487800
11 years ago
Fabio Erculiani
9aec1ae65e
gen_initramfs: use /usr/bin/plymouthd if /sbin/plymouthd is not available
11 years ago
Fabio Erculiani
e38ec24317
initrd.defaults: use /usr/bin/plymouthd if /sbin/plymouthd is not available
11 years ago
Fabio Erculiani
4a125bb674
00-fsdev.sh: fix typo in script as reported in bug #486636
11 years ago
Fabio Erculiani
de41ea1265
00-fsdev.sh: do not bad_msg if mdadm --scan returns != 0
...
Historically, users have mdadm support enabled even in conditions
where md devices are not (yet?) available.
11 years ago
Fabio Erculiani
6457d76923
busybox: enable CONFIG_MOUNTPOINT
11 years ago
Fabio Erculiani
576785d412
gen_initramfs: fix typo in udevadm_bin condition
11 years ago
Fabio Erculiani
a095dfcf7a
gen_initramfs: use /usr/bin/udevadm if /bin/udevadm is not available
11 years ago
Fabio Erculiani
2a4f4b0901
gen_initramfs: fix here-document (EOF handling)
11 years ago
Fabio Erculiani
a6979a5403
gen_initramfs: use systemd-udevd if udevd is not available
...
This fixes systemd-207 support and bug #485094
11 years ago
Salah Coronya
f6ca169a33
modules_load: add virtio_scsi to MODULES_VIRTIO
11 years ago
Fabio Erculiani
6696e59039
initrd.scripts: move move_mounts_to_chroot to 00-fsdev.sh
11 years ago
Fabio Erculiani
9b983fabc1
initrd.scripts: move getdvhoff to 00-livecd.sh (and make it "private")
11 years ago
Fabio Erculiani
9bc5b60794
initrd.scripts: move rootdev code to 00-rootdev.sh
11 years ago
Fabio Erculiani
5a9dc6ae08
initrd.scripts: move iscsi code to 00-iscsi.sh
11 years ago