Commit Graph

145 Commits (ce1e10241bb0ca0ec859a515631802e49cc167e9)

Author SHA1 Message Date
Fabio Erculiani 4d5e8e4e69 linuxrc: don't try to be too smart wrt resolving REAL_ROOT symlink
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 ffa5076fd4 Drop doslowusb and noslowusb boot parameters.
12 years ago
Fabio Erculiani a408d4a513 Drop useless parens in conditionals
12 years ago
Fabio Erculiani 421b210c67 Drop KV_2_6_OR_GREATER
12 years ago
Peter Hjalmarsson e4ab952d63 Add rootflags to switches we understand
12 years ago
Toralf Förster 543181ebef Fix non-functional init_opts parameter, bug #422471
12 years ago
Robin H. Johnson 32a9b007bf linuxrc: part keyword
12 years ago
Peter Hjalmarsson 7e224199ff Support using init= on the command line
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
Robin H. Johnson 097e88ff46 Attempt to fix bug #421839: missing /run on LiveCD environment.
12 years ago
Dustin Frisch d89f3d59e8 Check for file from real_init=FILE rather than /sbin/init (bug #437080)
12 years ago
Fabio Erculiani f15425841e mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled
13 years ago
Richard Yao 3ef477862d Run mdev -s after modules are loaded
13 years ago
Richard Yao 908a463e07 Support module options set in /etc/module.d, amend cmdline options patch
13 years ago
Dzianis Kahanovich 2bf6b9045d Adding modules cmdline options for genkernel (module.option[=value]).
13 years ago
Richard Yao 65249bbcea Fix bad ZFS case statement, bug #425122
13 years ago
Richard Yao de4751a2d2 Fix rootfs=ZFS infinite loop when no bootfs is set, bug #425120
13 years ago
Kenny Cheng 2413f1f2a3 Add /run to support openrc >=0.10
13 years ago
Sebastian Pipping aed52e8382 Support bind mounts from /etc/initramfs.mounts (bug #418463)
13 years ago
Sebastian Pipping 0fa71ef46c Fix call to blkid of util-linux
13 years ago
Richard Yao 6968584a58 Improve ZFS diagnostics, import and mounting
13 years ago
Richard Yao 51ad5c92ab Serialize hotplug events to mimic udev
13 years ago
Sebastian Pipping a7fbf76f7b Make sure the previous move of cd commands cannot result in unexpected regressions
13 years ago
Richard Yao 69009cb747 Reorder mdev initialization to mimic udev boot
13 years ago
Richard Yao f5f3d6fa87 Enable real_root=ZFS to permit booting off ZFS
13 years ago
Richard Yao 391a9b9969 Move ZFS binary check outside of commandline loop
13 years ago
Sebastian Pipping 8ac8de6055 Fix docache (bug #397309)
13 years ago
Sebastian Pipping 4ed04331a5 Drop into debug shell when squashfs could not be mounted
13 years ago
Sebastian Pipping a13f9efd37 Drop into debug shell when files could not be copied into tmpfs
13 years ago
Sebastian Pipping adefd0fccc Improve handling of missing /etc/fstab
13 years ago
Robin H. Johnson 277259282e Enable live mounting of /usr. Was supposed to have been in 3.4.25.
13 years ago
Robin H. Johnson 995635a2c7
With the new /usr mounting, if the device path that ends up in /proc/mounts ends up being different than in /etc/fstab due to symlinks, mount -a will always exit 32. Avoid by resolving symlinks like util-linux does.
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 ae2a061ca7 Disable the /usr mount code until OpenRC section is ready, so that it goes to read-write properly. It was usable in systemd already...
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
Fabio Erculiani 84cc7ccdfb Do not hardcode /mnt/cdrom path across the whole code, use CDROOT_PATH
13 years ago
Robin H. Johnson a487275640 Removing dangling backtick to make script work.
13 years ago
Fabio Erculiani 1e50bd01d2 trivial: cleanup code, drop whitespaces and some more cruft
14 years ago
Fabio Erculiani d6696d0df6 syntax: drop parse_opt usage and crufty, deprecated subshelling through ``
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 bf0cad6a30 Remove support for sys-fs/evms, as it was removed from Gentoo (bug #372423)
14 years ago
Peter Hjalmarsson eec4397e41 Check content of $REAL_ROOT/dev after we are done with it
14 years ago
Sebastian Pipping e82a8c9985 Document option lvmraid= and make it imply dolvm (bug #153502)
14 years ago
Sebastian Pipping 6a00d8677a Rename internal function whereis to prompt_user
14 years ago
Sebastian Pipping fad624bc41 Add rootfstype= boot parameter (bug #221245)
14 years ago
Peter Hjalmarsson f927ef9b42 Try to move /sys and /proc to the newroot first instead of just unmounting.
14 years ago
Peter Hjalmarsson b312056622 Use the same options for proc and sysfs as Gentoo/OpenRC uses
14 years ago
craig 5e07592a75 iBFT: fix iscsi_noibft
14 years ago
craig d9f46bb513 Add iBFT support for iSCSI
14 years ago
Peter Hjalmarsson 398d7ba5ac Use tmpfs if devtmpfs is not available
14 years ago
Sebastian Pipping 763fd09bac Remove "-a" from call to umount
14 years ago
Peter Hjalmarsson cb24bedd07 Move dev to chroot
14 years ago
Sebastian Pipping c202dbe67d Resolve unneeded subshell
14 years ago
Peter Hjalmarsson 294ea17506 Use devtpmfs when avaible
14 years ago
Peter Hjalmarsson d1b6b4e9f0 Speed up LVM-activation
14 years ago
Fabio Erculiani 2abd9c2742 Add compatibility with older cmdline setup on console argument
14 years ago
Sebastian Pipping 8b52cccc02 Do not wait for iscsi if we have not started it
14 years ago
Sebastian Pipping 1051223a63 Do no delay if scandelay[=seconds] is not specified (bug #323317 again)
14 years ago
Sebastian Pipping b56020daf6 Propagate fix for ROOT_DEV from bug #303531 to RESUME_DEV and REAL_LUKS
14 years ago
Fabio Erculiani b6b3dab7cd Add minimal btrfs support, as per bug #303529.
14 years ago
Fabio Erculiani 25b5a461ba slowusb: move sleep 10 call after start_dev_mgr.
14 years ago
Fabio Erculiani 51e0b14044 slowusb: ease the code in order to reduce entropy, one place for one thing.
14 years ago
Sebastian Pipping b4f310213e Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855)
14 years ago
devsk e590a493ea Pick first device when several devices are matching real_root (bug #303531)
14 years ago
Sebastian Pipping 532dd7a387 Review and fix some -eq and -ne conditionals
14 years ago
Andrew Gaffney 24446b0465 Add support for isoboot= option (for Gentoo bug #294268)
15 years ago
Andrew Gaffney 2e4e55a6e5 Fix typo for Gentoo bug #294138
15 years ago
craig 88ac383f61 Let iSCSId settle after iscsistart
15 years ago
craig 97b4dc26e2 Improve naming of bootflags, added support for: port, target portal, username, password, username_in, password_in, debug
15 years ago
craig 18d9c84402 Merge branch 'master' of git://git.wolf31o2.org/projs/genkernel
16 years ago
Andrew Gaffney 588ef85661 Apply patch from Gentoo bug #220913 for tuxonice resume
16 years ago
craig cac66e0970 iSCSI patch for genkernel
16 years ago
Andrew Gaffney d9aed5a321 Comment out the exec line for console=*, since it seems to blow up when the param isn't a true device node, such as ttyS0,115200n8
16 years ago
Andrew Gaffney d48dc40bd2 Remove detect_sbp2_devices() for gentoo bug #239474
16 years ago
Andrew Gaffney 5f9a6b2749 Remove the use of 'env -i' when calling switch_root due to gentoo bug #248688
16 years ago
Chris Gianelloni 20f2b57e95 Actually setting permissions. It helps if one remembers to 'git add' before doing their commit.
16 years ago
Andrew Gaffney 462e35fe87 Add --real-root=<foo> parameter to specify a default for real_root= in the initramfs for gentoo bug #249783
16 years ago
Andrew Gaffney a4d6260dd0 Applied patch for UUID support for real_resume= from gentoo bug #239687
16 years ago
Andrew Gaffney d07862bb8e Add --unionfs commandline option to enable building of unionfs-fuse
16 years ago
Andrew Gaffney 41f44b1d42 Call switch_root with full path
16 years ago
Andrew Gaffney fa9cbeeda8 Call switch_root with 'env -i' to clean out the kernel-defined key/value pairs
16 years ago
Andrew Gaffney 48b282a85d Skip good_root check for /dev/nfs for gentoo bug #246759
16 years ago
Andrew Gaffney abf5986e2b Small cleanups in unionfs code
16 years ago
agaffney b116df3c98 Make sure that /sbin/unionfs is +x
16 years ago
agaffney 7b9ba94669 Add back (modified) unionfs code in linuxrc
16 years ago
Robin H. Johnson b96546958f Add a single word to help clarify which /dev is broken, after I wasted a day debugging my new box.
17 years ago
agaffney 64660f969f Fix CONSOLE= handling code for bug 232012
17 years ago
Chris Gianelloni d5b1e6a985 Removed all references to an initrd and renamed most initr{d,amfs} stuff to simply 'ramdisk' to simplify things for the future.
17 years ago
Chris Gianelloni 1ffb37f09c Moving files from generic to defaults, since they are the defaults used globally.
17 years ago