summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-05-21Use the right argument for dasd module optionsJesse Keating1-5/+13
The legacy argument is DASD=, and the new arguments should be the same as the arguments for populating dasd.conf. If multiple arguments are passed we can stack them by inserting a ',' between them.
2012-05-21ARM: make sure that we get the storage modules into the initramfsDennis Gilmore1-0/+3
2012-05-21check ifenslave instead of brctl in parse-bond.shWANG Cong1-1/+1
This is obviously wrong, ifenslave instead of brctl is needed for bonding. Cc: Harald Hoyer <harald@redhat.com> Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
2012-05-21add option --printsizeDave Young1-0/+11
Add --printsize for measuring module installed size to initramfs Signed-off-by: Dave Young <dyoung@redhat.com>
2012-05-16TEST-01-BASIC: sync after creating the root diskHarald Hoyer2-1/+2
2012-05-16dracut:fstab-sys: Wait for devices specified using --mount optionVivek Goyal2-0/+23
dracut allows passing --mount option which mounts the specified devices. But it does not wait for these devices to show up and mounting will fail if devices do not show up by the time "mount" was called. I am writing some patches to support kdump on iscsi target and I noticed that one of the initqueue script was not called as we found the root device and broke out of main loop. There are two possible enancements to this patch. - Introduce a time limited wait (rd.timeout something along the lines of rd.retry). That will allow kdump to try to dump to a backup target if primary targets fails to come up. - Wait for UUID= and LABEL= to show up too. Right now kdump converts UUID= and LABEL= to respective devices and passes /dev/* to dracut --mount option. So I am not introducing the wait for UUID= or LABEL= in this patch. Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2012-05-16check install files passed by cmdlineCong Wang1-1/+1
We should not trust cmdline passed by users, always check the install files passed from cmdline. This restores the old behaviour which was changed by: commit c6c6a08850c7e4ee211696895f7ca3864be85052 Author: Harald Hoyer <harald@redhat.com> Date: Tue Feb 7 18:26:30 2012 +0100 add "install_items" to dracut.conf Reported-by: Dave Young <dyoung@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Cc: Harald Hoyer <harald@redhat.com>
2012-05-16check kernel module existanceCong Wang3-13/+42
This patch adds check of kernel module existance and propagate errors to upper callers. In case of break other callers of instmods(), this patch adds an option '-c' to it, only when "-c" is specified we fail, otherwise, errors are ignored. Reported-by: Dave Young <dyoung@redhat.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Cc: Harald Hoyer <harald@redhat.com>
2012-05-1690kernel-modules/module-setup.sh: install xhci-hcdOlivier Blin1-1/+1
to allow booting and using kbd devices from USB 3.0
2012-05-16Makefile: install dracut service files from systemd dracut moduleHarald Hoyer2-1/+11
2012-05-16systemd: store switch-root.conf in /run/initramfsHarald Hoyer2-3/+3
Store switch-root.conf in /run/initramfs/switch-root.conf, so that the service does not fail in ExecPost after switching to the real root.
2012-05-16systemd/switch-root.service: do not require shutdown and isolate to defaultHarald Hoyer1-2/+1
do not require shutdown.target and final.target After switch-root isolate to the default target. This will load the default target in the real root after systemd deserializes.
2012-05-16systemd/switch-root.target: run target before switch-root.serviceHarald Hoyer1-1/+1
2012-05-16systemd/dracut-pre-pivot.sh: s/udevd.service/systemd-udev.service/Harald Hoyer1-1/+1
2012-05-15base/module-setup.sh: link /proc/self/mounts to $initdir/etc/mtabHarald Hoyer1-0/+1
2012-05-15systemd: adapt to new switch-root mechanismHarald Hoyer6-20/+14
2012-05-10ifcfg/write-ifcfg.sh: add s390 specific configuration optionsHarald Hoyer1-2/+68
https://bugzilla.redhat.com/show_bug.cgi?id=811521
2012-05-10Makefile: call git2spec.pl with LANG=CHarald Hoyer1-1/+1
2012-05-10Fail to boot if mediacheck fails (#817419)Brian C. Lane1-1/+1
The return value of checkisomd5 was being ignored.
2012-05-09dracut.spec: add 98systemd moduleHarald Hoyer1-0/+1
2012-05-09ifcfg/write-ifcfg.sh: use PREFIX for prefix netmask formHarald Hoyer1-1/+5
https://bugzilla.redhat.com/show_bug.cgi?id=820185
2012-05-09add systemd moduleHarald Hoyer21-0/+747
2012-05-09rootfs-block/block-genrules.sh: install systemd mount unitHarald Hoyer1-0/+17
2012-05-09dracut.sh: install var/run and var/lockHarald Hoyer1-1/+1
2012-05-09base/dracut-lib.sh: export UDEVVERSIONHarald Hoyer1-2/+2
2012-05-09base/init.sh: set DRACUT_QUIET only in dracut-lib.shHarald Hoyer2-6/+3
2012-05-09plymouth/plymouth-pretrigger.sh: get consoledev from ↵Harald Hoyer1-1/+1
/sys/class/tty/console/active
2012-05-07test/TEST-01-BASIC/test.sh: fix cleanup of overlay dirHarald Hoyer1-1/+1
2012-05-07dracut.spec: require "file"Harald Hoyer1-0/+1
2012-05-07plymouth/plymouth-pretrigger.sh: check for tty dev existenceHarald Hoyer1-2/+2
2012-05-07removed old udev "vol_id"Harald Hoyer6-38/+10
2012-05-04TODO: updateHarald Hoyer1-0/+2
2012-05-02ifcfg: fix resolv.confWill Woods1-1/+1
/etc/net.*.resolv.conf is not a useful filename; copy it to resolv.conf
2012-05-02fix _getcmdline arg-duplicating bug with /etc/cmdline*Will Woods1-0/+1
If you unset CMDLINE to make _getcmdline re-read /etc/cmdline and /etc/cmdline.d/*, CMDLINE_ETC and CMDLINE_ETC_D would keep their contents. This is a serious problem if you have (e.g.) "ip=eth0:dhcp" in /etc/cmdline.d/net.conf, because getargs ip= will return "ip=eth0:dhcp ip=eth0:dhcp" and then parse-ip-opts.sh will die() because you have two configurations for eth0.
2012-04-25TEST-15-BTRFSRAID: add one more partition to the btrfs raid10Harald Hoyer2-4/+10
2012-04-25udev-rules/module-setup.sh: fixed udevd locationHarald Hoyer1-16/+8
2012-04-25multipath/module-setup.sh: fix host-only/mount checksHarald Hoyer1-9/+7
2012-04-25iscsi/module-setup.sh: fix host-only/mount checksHarald Hoyer1-10/+6
2012-04-24ifcfg: write DNS1=... for nameserver= args (RHBZ#815369)Harald Hoyer1-0/+5
If you're using a static network config, you'll want to keep your nameservers around when NM starts. Write DNS1 (and DNS2, DNS3, etc..) into the ifcfg file. Thanks to Mark Hamzy <hamzy@us.ibm.com> and Will Woods <wwoods@redhat.com> for the patch.
2012-04-23network: fix ifup and netroot callingHarald Hoyer5-86/+48
2012-04-23merge "cleanup" and "pre-pivot-cleanup" hooksHarald Hoyer10-14/+13
2012-04-23base/dracut-lib.sh: add arguments for source_hook() and source_all()Harald Hoyer1-3/+7
2012-04-23base: add export_n() functionHarald Hoyer2-8/+17
resembles export -n for dash
2012-04-23base: add debug_on() and debug_off() functionsHarald Hoyer2-17/+31
2012-04-23url-lib: don't use --progress-bar if TERM=dumb (RHBZ#814713)Will Woods1-1/+6
Basically, s390 is the only place I've ever seen TERM=dumb, and it's too dumb to handle '\r', so --progress-bar produces waaaaay too much output. The normal progress meter only prints something once per second, so that's reasonable on terminals where '\r' doesn't work. See also: https://bugzilla.redhat.com/show_bug.cgi?id=814713
2012-04-23url-lib: don't add existing handlers multiple timesWill Woods1-0/+1
Every time url-lib gets imported we end up making the list of handlers longer with redundant entries. That's silly - we shouldn't add items that already exist. Note that this means you'll have to manipulate the handler list yourself if you want to change the position/priority of existing handlers.
2012-04-19network/parse-ip-opts.sh: remove check for netrootHarald Hoyer1-8/+0
with anaconda and all other kind of stuff, we might want network, even for root not on the network
2012-04-19move cleanup scripts to pre-pivot-cleanup hookDave Young5-5/+5
below cleanup scripts is moved: 40network: kill-dhclient.sh 90crypt: crypt-cleanup.sh 90multipath: multipathd-stop.sh 95iscsi: cleanup-iscsi.sh 95nfs: nfsroot-cleanup.sh Signed-off-by: Dave Young <dyoung@redhat.com>
2012-04-19add pre-pivot-cleanup hookDave Young5-4/+17
Sometimes some hook script will need to be before the cleanup hook scripts For example dhclient killing, nfs cleanup, etc. must not happen before kdump because it will use their fuctionalities. So here introduce a new hook pre-pivot-cleanup, all cleanup scripts will go there. that means pre-pivot hook is splited to two hooks pre-pivot and pre-pivot-cleanup Signed-off-by: Dave Young <dyoung@redhat.com>
2012-04-19network/module-setup.sh: include all kernel/drivers/net/phy driversHarald Hoyer1-0/+1