Commit Graph

421 Commits (8ae92b7601003e7ee6ad35e954df797363d8b66c)

Author SHA1 Message Date
Fabio Erculiani 06ee07bf94 00-crypt.sh: start to de-hardcode root=/dev/mapper/root requirements
11 years ago
Fabio Erculiani 33a5119a78 00-crypt.sh: tentatively drop one horrible "sleep" call
11 years ago
Fabio Erculiani d3601914df 00-crypt.sh: fix undefined function, s/err_msg/bad_msg/
11 years ago
Fabio Erculiani 368282d9ec initrd.defaults, gen_initramfs: /bin/plymouth moved to /usr/bin
11 years ago
Fabio Erculiani 25cd48cd6f initrd.defaults, gen_initramfs: plymouthd is actually in /usr/sbin, bug #487800
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
11 years ago
Fabio Erculiani 6457d76923 busybox: enable CONFIG_MOUNTPOINT
11 years ago
Fabio Erculiani a6979a5403 gen_initramfs: use systemd-udevd if udevd is not available
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
Fabio Erculiani 8dcf20f4b5 initrd.scripts: move swsusp code to 00-suspend.sh
11 years ago
Fabio Erculiani 55c809c090 linuxrc: make sure that /sbin and /usr/sbin are in PATH
12 years ago
Fabio Erculiani fb12af3062 linuxrc: add TODO about domdadm
12 years ago
Fabio Erculiani 29d5c94dac initrd.scripts: move LUKS code to 00-crypt.sh, refactor it slightly
12 years ago
Fabio Erculiani c6af477460 initrd.scripts: move media_find, start_volumes, setup_md_devices to 00-fsdev.sh
12 years ago
Fabio Erculiani cd20666829 initrd.scripts: move zfs_start_volumes outside of start_volumes
12 years ago
Fabio Erculiani 9d66471c26 initrd.scripts: move zfs_real_root_init outside real_root_init
12 years ago
Fabio Erculiani 6b29188ee3 gen_initramfs: provide /bin/udhcpc
12 years ago
Fabio Erculiani 2af62f0189 gen_initramfs: provide /bin/dmesg as well
12 years ago
Fabio Erculiani 51a54c3388 initrd.scripts: move find_nfs to 00-nfs.sh
12 years ago
Fabio Erculiani 4fad24c756 initrd.d: move is_livecd() back to 00-common.sh to avoid circular deps
12 years ago
Fabio Erculiani 0308b18e1e initrd.scripts: move keymaps functions to 00-keymaps.sh
12 years ago
Fabio Erculiani 58669a002c initrd.scripts: move cmdline_hwopts() to 00-modules.sh
12 years ago
Fabio Erculiani 079ee21409 initrd.scripts: move sdelay() to 00-common.sh
12 years ago
Fabio Erculiani 56e9775b53 initrd.d: trivially update code style of quiet_kmsg and verbose_kmsg
12 years ago
Fabio Erculiani 5722d3826e initrd.scripts: move test_success() to 00-common.sh and fix it
12 years ago
Fabio Erculiani fae57916b9 initrd.scripts: move prompt_user() to 00-splash.sh
12 years ago
Fabio Erculiani 547b54238a initrd.scripts: move mount_sysfs to 00-fsdev.sh
12 years ago
Fabio Erculiani fa87394a19 initrd.scripts: move ask_for_password to 00-splash.sh
12 years ago
Fabio Erculiani eb6e9ca066 initrd.scripts: move livecd code to 00-livecd.sh
12 years ago
Fabio Erculiani 4c9f7dce50 initrd.scripts: move quiet_kmsg and verbose_kmsg to 00-common.sh
12 years ago
Fabio Erculiani bb51ba3046 initrd.scripts: refactor devicelist and rename to device_list()
12 years ago
Fabio Erculiani 6b8bde737d initrd.scripts: refactor findmediamount and rename to media_find()
12 years ago
Fabio Erculiani 90b81e9f4b initrd.scripts: drop unused function: uppercase()
12 years ago
Fabio Erculiani bb1e05985c initrd.scripts: move modules functions to 00-modules.sh
12 years ago
Fabio Erculiani 2dffb2c52f initrd.scripts: trivial, fix swsusp_resume() code style
12 years ago
Fabio Erculiani be9870f75a initrd.scripts: trivial, fix setup_squashfs_aufs code style
12 years ago
Fabio Erculiani f51db27a39 initrd.scripts: trivial, wrap comments
12 years ago
Fabio Erculiani 2496e36843 initrd.scripts: simplify rootdev_init() further
12 years ago
Fabio Erculiani 5f9050e1a6 initrd.scripts: refactor setup_real_root and rootdev_init functions
12 years ago
Fabio Erculiani fb3073c7a9 initrd.scripts: improve readability of rootdev_init
12 years ago
Fabio Erculiani 98f264fa20 initrd.scripts: move zfs functions to 00-zfs.sh
12 years ago
Fabio Erculiani 7c2f5828fd initrd.scripts: move mount_devfs() to 00-devmgr.sh
12 years ago
Fabio Erculiani e4742ab0b5 initrd.scripts: move more functions to initrd.d/
12 years ago
Fabio Erculiani 90983b4fd2 initrd.scripts: move splash functions to a separate file
12 years ago
Fabio Erculiani f0775326eb initrd.scripts: refactor start_volumes(), improve readability
12 years ago
Fabio Erculiani 382691d467 initrd.scripts: improve code style of mount_devfs
12 years ago
Fabio Erculiani 231ffd477a initrd.scripts: improve code style of fs_type_in_use
12 years ago
Fabio Erculiani d518964d6a initrd.scripts: improve code style of check_loop if test
12 years ago
Fabio Erculiani 8c70f27a93 initrd.scripts: improve code style of check_loop
12 years ago
Fabio Erculiani 9d043ca938 initrd.scripts: rename findnfsmount to find_nfs
12 years ago
Fabio Erculiani f4b4d6d0d6 initrd.scripts: improve findnfsmount(), simplify code and branches
12 years ago
Fabio Erculiani 7a7e01c47e initrd.scripts: refactor findnfsmount(), improve readability
12 years ago
Fabio Erculiani 3790c6345a initrd.scripts: wrap >80 chars lines in devicelist()
12 years ago
Fabio Erculiani ce1e10241b genkernel: migrate ALL the code to 4-spaces tabs
12 years ago
Fabio Erculiani ebc7806e16 repo: add `make install` support, bundle busybox, bashcomp and initramfs.mounts
12 years ago
Fabio Erculiani 24e26f1b77 initrd.scripts: add more TODOs
12 years ago
Fabio Erculiani bda76debee initrd.scripts: kill tuxonice support with a LOT of fire
12 years ago
Fabio Erculiani 068e7da618 initrd.scripts: add a couple of TODOs
12 years ago
Fabio Erculiani 556f991201 initrd.scripts: fix wording in fstype_init
12 years ago
Fabio Erculiani 1ac43bf8a6 initrd.scripts: use get_device_fstype to execute fstype specific init code
12 years ago
Fabio Erculiani 43a4651da2 initrd.scripts: simplify rootdev_init. Break if conditions for better readability
12 years ago
Fabio Erculiani f5d1084646 initrd.scripts: make rootdev_init use find_real_device
12 years ago
Fabio Erculiani 755eb93994 initrd.scripts: make resume_init use find_real_device
12 years ago
Fabio Erculiani addfa95e96 initrd.scripts: fix find_real_device output
12 years ago
Fabio Erculiani 12af5dfd3a gen_initramfs, initrd.scripts: migrate to /sbin/btrfs
12 years ago
Fabio Erculiani c27d3ac25d initrd.scripts: add get_device_fstype
12 years ago
Fabio Erculiani 9d8560729f linuxrc: trivial, improve code style of linuxrc
12 years ago
Fabio Erculiani a7def21edc linuxrc: drop another /dev (tty1) pointless check
12 years ago
Fabio Erculiani 35443c24ae linuxrc: drop useless /dev nodes check
12 years ago
Fabio Erculiani 5e96e6f7dc linuxrc: move mountpoints move code to move_mounts_to_chroot
12 years ago
Fabio Erculiani afea330cb1 linuxrc: default REAL_INIT to /sbin/init
12 years ago
Fabio Erculiani 682acf0274 linuxrc: improve code style at the end of the file
12 years ago
Fabio Erculiani 68892f5c65 linuxrc: move devmgr termination code to devmgr_terminate
12 years ago
Fabio Erculiani 8ab82e8b23 linuxrc: unbundle is_livecd() from setup_real_root
12 years ago
Fabio Erculiani 0cac67fa67 linuxrc: move livecd mount code to livecd_mount()
12 years ago
Fabio Erculiani 1b282a7c9f initrd.scripts: mount livecd / tmpfs with mode=0755 (instead of 0777)
12 years ago
Fabio Erculiani faf020424d linuxrc: move root device detection/init code to rootdev_init
12 years ago
Fabio Erculiani 37121be638 initrd.scripts: add is_nfs(), replace ${REAL_ROOT} = /dev/nfs checks
12 years ago
Fabio Erculiani 6f6befff99 linuxrc: call ensure_initramfs_mounts after mounting ${REAL_ROOT}
12 years ago
Fabio Erculiani 51a455d49c linuxrc: use is_livecd() rather than ${CDROOT} value check
12 years ago
Fabio Erculiani b0418a0272 initrd.scripts: ensure_initramfs_mounts: check if partition is mounted
12 years ago
Fabio Erculiani 8fa61e098d linuxrc: move /etc/initramfs.mounts handling to a separate function
12 years ago
Fabio Erculiani 7f41ae2800 linuxrc: fix zfs call, subshell call was missing
12 years ago
Fabio Erculiani c0bfc7b123 Revert "linuxrc: do not look for ${REAL_INIT} inside the mounted partition"
12 years ago
Fabio Erculiani 86967ea400 linuxrc: move livecd initialization code to livecd_init()
12 years ago
Fabio Erculiani 3bb6c62bd9 linuxrc: do not look for ${REAL_INIT} inside the mounted partition
12 years ago
Fabio Erculiani af1f319509 linuxrc: move resume initialization code to resume_init()
12 years ago
Fabio Erculiani 3f14137bc0 linuxrc: create is_livecd(), stop doing weird ${CDROOT} comparisons
12 years ago
Fabio Erculiani 3c9f0c6850 linuxrc: break condition for luks and resume apart
12 years ago
Fabio Erculiani f269237602 linuxrc: trivial, use a more compact syntax
12 years ago
Fabio Erculiani 798c45d3da linuxrc: simplify iscsi setup code
12 years ago
Fabio Erculiani 138b1f8492 linuxrc: move the devmgr initialization code to devmgr_init()
12 years ago
Fabio Erculiani 613a7047a1 linuxrc: move REAL_ROOT* setup to setup_real_root()
12 years ago
Fabio Erculiani d8af91e3e8 linuxrc: move modules initialization code to modules_init
12 years ago