11 Commits

Author SHA1 Message Date
Mark D Horn 40e678ea00 initramfs: lvm sysroot
Only activate the Clear Linux OS rootfs volume.

Add lvm conf file to allow pvscan, but prevent starting the
lvmetad service. Otherwise, if non-root lvms exist, all lvms
are active and the Host OS will hang when starting lvmetad service.

Add new lvm2-mount-sysroot.service to only activate the rootfs
which is identified by the CLR_ROOT logical volume name.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-22 16:24:49 -05:00
Mark D Horn e53a847e1a initramfs: Add plugdev to reduce journal errors
This missing group floods the journal in the initrd run.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-22 16:24:49 -05:00
Mark D Horn 16d833f9fd initramfs: /sbin needs to link to /usr/bin
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-04-20 17:56:58 -07:00
Josue David Hernandez Gutierrez 24ba73f49a refactoring of make file and get files from source
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
2020-03-27 19:22:03 -06:00
Josue David Hernandez Gutierrez 25c9671be4 update udev rules to support the new way how SYSTEMD_READY works in systemd-244
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
2020-03-26 12:51:04 -06:00
Josue David Hernandez Gutierrez ecf832e10f forcing cryptsetup.target to be executed
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
2019-10-10 20:27:43 -05:00
Josue David Hernandez ee60fd153b clr-init: adding load modules and emergency mode support
if something fails the initrd will provide a shell to see what was wrong

also now load kernel modules from an additional cpio file is posible this
cpio file just must have the path /usr/lib/modules/$(uname -r)/ with the common
kernel modules tree and module.* files to be loaded.

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-09-26 11:39:48 -05:00
Josue David Hernandez 2e185ccec7 clr-init: add support for load kernel modules that should be provided in an additional initramfs
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-08-03 16:03:58 -05:00
Josue David Hernandez 3b5a68b274 clr-init: FIX issue with UUID root options
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-07-02 17:24:38 -05:00
Josue David Hernandez c9c5fa2937 clr-init: add ctrl-alt-del target support
if pasword fails or something is wrong you can reboot the system using
ctrl + alt + del

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-05-29 18:45:33 -05:00
Josue David Hernandez b20497f266 clr-init: change clr-init application for systemd init
this initrd will work using systemd as init program
then this repo provide the scripts to create a systemd initrd

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-05-02 17:55:51 -05:00