Commit Graph

217 Commits (65d6d36332c7c491601ccc8d8a88861e763a5040)

Author SHA1 Message Date
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 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 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 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 86967ea400 linuxrc: move livecd initialization code to livecd_init()
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 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
Fabio Erculiani f1f04247f4 linuxrc: move splash initialization to splash_init()
12 years ago
Fabio Erculiani ecdb16659b linuxrc: move zfs initialization code to zfs_init() in initrd.scripts
12 years ago
Fabio Erculiani 071fff18b1 initrd.scripts: <80 chars
12 years ago
Fabio Erculiani 4559ecca82 defaults: fix code style
12 years ago
Fabio Erculiani 36d21e9a5f defaults: drop trailing whitespaces
12 years ago
Fabio Erculiani af182ed72a Move gpg executable to /usr/bin/gpg, bug #476276
12 years ago
Richard Yao 755798b933 Workaround busybox modprobe's inability to load ZFS modules
12 years ago
Richard Yao 9bb2beea5b Import pool after ZFS module finishes loading
12 years ago
Richard Yao c188fcedff Add call_func_timeout helper function
12 years ago
Fabio Erculiani 39cb3a0a16 Revert "linuxrc: add depmod call as workaround for missing modules.dep.bb"
12 years ago
Fabio Erculiani 7ee24b6776 Revert "initrd.scripts: busybox depmod doesn't support -v even though it declares so"
12 years ago
Fabio Erculiani f3570c3957 initrd.scripts: busybox depmod doesn't support -v even though it declares so
12 years ago
Fabio Erculiani ece907ea64 linuxrc: add depmod call as workaround for missing modules.dep.bb
12 years ago
Fabio Erculiani 4b4d3f6d3e initrd.scripts: uniform function names, use the underscore convention
12 years ago
Fabio Erculiani 9eb774b02f initrd.scripts: drop whitespaces
12 years ago
Fabio Erculiani 8924ef00ae initrd.scripts: uniform {} style
12 years ago
Fabio Erculiani eae66a8b4b initrd.scripts: drop subshell in setup_squashfs_aufs
12 years ago
Fabio Erculiani 79de6f5fd6 initrd.scripts: text if ${device} is set before messing with /sys/power
12 years ago
Fabio Erculiani 06af416264 Kill trailing whitespaces!!!!!
12 years ago
Fabio Erculiani 90da2a1a66 Drop backticks from initramfs code
12 years ago
Fabio Erculiani c29e0ef023 Complete Plymouth integration. Fix the last set of minor bugs
12 years ago
Fabio Erculiani fb6fa7903d Make plymouth ask-for-password work as expected
12 years ago
Fabio Erculiani bea8085444 Introduce initial support to Plymouth
12 years ago
Fabio Erculiani 5d8c6d3873 Use iscsistart from system, don't compile it
12 years ago
Fabio Erculiani 4288a38895 Drop commented out code, cruft of the past
12 years ago
Fabio Erculiani f1487fa8b6 Drop support for unionfs, broken and broken
12 years ago
Fabio Erculiani 64ea1af0e1 gen_compile: use LVM from system for the initramfs
12 years ago
Fabio Erculiani 3fec6febc4 genkernel: add simple udev support, include udev into initramfs if --udev
12 years ago
Fabio Erculiani 108f1daf60 linuxrc: run the debug shell multiple times, add a hook before switch_root
12 years ago
Fabio Erculiani 9ead931af1 linuxrc: use "quiet" cmdline argument for a really quiet initramfs initialization
12 years ago
Fabio Erculiani 499f2d98b6 Improve speed of bootstrapCD by not calling devicelist unless needed
12 years ago
Fabio Erculiani ffa5076fd4 Drop doslowusb and noslowusb boot parameters.
12 years ago
Fabio Erculiani 682d0b0d0a Drop "sleep 3" from sdelay if CDROOT=1. One can use scandelay=secs if needed.
12 years ago
Fabio Erculiani a408d4a513 Drop useless parens in conditionals
12 years ago
Fabio Erculiani 3a054014e8 Drop our own /sbin/modprobe and use busybox built-in applet instead
12 years ago
Fabio Erculiani 30c7284c92 Unquote ${ZPOOL_FORCE} variable usage.
12 years ago
Marek Sapota 3fa1bf680d Bug #378105: UUID/LABEL support for LUKS keydevs
12 years ago
Robin H. Johnson e6de60283b Bug #286187: Complete multipath support.
12 years ago
Robin H. Johnson bddbeeb887 Bug #351873: More livecd control, and initramfs livecd argument documentation.
12 years ago
Peter Hjalmarsson e779547b72 Make root_trim work with crypt_root_key
13 years ago
Sebastian Pipping ed09edb1c0 Resolve cryptic awk-based code docuplication
13 years ago
Robin H. Johnson 1486a0402c Flip awk return values.
13 years ago
Robin H. Johnson c79d57926f Minor thinko in devpts check.
13 years ago
Robin H. Johnson c924bde4b7 Prior commit to only mount devtmpfs and devpts if they were not already mounted made assumptions about the device names they were mounted as. Check the filesystem column of /proc/mounts instead.
13 years ago
Richard Yao e05ab0d1a1 Force ZFS to explicitly import pool when LUKS is present
13 years ago
Richard Yao b8626e78ef Fix typo in previous commit.
13 years ago
Richard Yao e2189311fc Verify in /proc/mounts that devtmpfs is unmounted before mounting it
13 years ago
Sebastian Pipping 51dcb15742 Restore previous handling of real_root due to report of regressions (bug #419965)
13 years ago
Sebastian Pipping 36d0fb5559 Make recent addition conform to POSIX
13 years ago
Marios Andreopoulos f95264adde Use real_root option for (plain) Luks setup
13 years ago
Sebastian Pipping 0fa71ef46c Fix call to blkid of util-linux
13 years ago
Richard Yao b5b535f5aa Do not import a pool that the kernel automatically imported
13 years ago
Richard Yao 6968584a58 Improve ZFS diagnostics, import and mounting
13 years ago
Richard Yao 0f399f48ff Verify that binaries exist before startVolumes calls them
13 years ago
Richard Yao 51ad5c92ab Serialize hotplug events to mimic udev
13 years ago
Richard Yao 69009cb747 Reorder mdev initialization to mimic udev boot
13 years ago
Sebastian Pipping 4d8287c3d0 Add keymap "sf", i.e. Switzerland (French) from Pentoo
13 years ago
Sebastian Pipping 8071dca456 Merge branch 'fix-docache'
13 years ago
Sebastian Pipping 23a40aeb0e Restore original /dev/tty after GPG (bug #410073)
13 years ago
Sebastian Pipping 8ac8de6055 Fix docache (bug #397309)
13 years ago
Sebastian Pipping adefd0fccc Improve handling of missing /etc/fstab
13 years ago
Sebastian Pipping 3ca4d17874 Message cosmetics
13 years ago
Sebastian Pipping 0584c96ca6 Extract function do_rundebugshell
13 years ago
Sebastian Pipping 38205c74b4 No longer use parameter "-r" (for regex intervals) that busybox awk does not support
13 years ago
Robin H. Johnson 1077359d86 linuxrc /usr mounting
13 years ago
Richard Yao fc98fa9d89 Implement ZFS Support
13 years ago
Robin H. Johnson af26e433cb Support virtio devices, and provide fallback of all remaining devices.
13 years ago
Rick Farina 8c76eb9e51 Add sdcard device support
13 years ago
Robin H. Johnson 603a197839 Code to mount /usr and other filesystems as needed for new udev and systemd.
13 years ago
Christian Kruse c92fe6f0e6 Introduce boot parameter root_trim=(yes|no) for SSDs
13 years ago
Sebastian Pipping 8f8676adbd Fix return value of crypt_filter() which caused bogus LUKS opening errors (bug #383545)
13 years ago
Fabio Erculiani 84cc7ccdfb Do not hardcode /mnt/cdrom path across the whole code, use CDROOT_PATH
13 years ago
Robin H. Johnson 00b5b3ab66 Allow real_root to point to LVM-created symlinks.
13 years ago
Fabio Erculiani d6696d0df6 syntax: drop parse_opt usage and crufty, deprecated subshelling through ``
14 years ago
Sebastian Pipping 3453a0621c Fix quoting issue (bug #380729)
14 years ago
Fabio Erculiani 4d54e7d098 aufs: add basic support to AUFS2, requires kernel with aufs module or built-in
14 years ago
Sebastian Pipping 02b72c6515 Fix display of seconds waiting (bug #376575)
14 years ago
Sebastian Pipping 4c0b4b18f8 Fix permissions of /dev/pts (bug #375947)
14 years ago
Sebastian Pipping bf0cad6a30 Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423)
14 years ago