diff options
author | Jesse Keating <jkeating@redhat.com> | 2012-09-18 16:25:09 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2012-09-19 13:30:44 -0700 |
commit | 3006d2d8b3f60437c6218fecfc18f6084b044b87 (patch) | |
tree | 2b9319fcc64af8f5d5bb67f1a3ff68d196c01483 /dracut/anaconda-copy-cmdline.sh | |
parent | 0b4b1e2efccbc2be8fd737489ded46b1571c4b90 (diff) | |
download | anaconda-3006d2d8b3f60437c6218fecfc18f6084b044b87.tar.gz anaconda-3006d2d8b3f60437c6218fecfc18f6084b044b87.tar.xz anaconda-3006d2d8b3f60437c6218fecfc18f6084b044b87.zip |
Copy command line files prior to pivot
We need these after the pivot and we can't get to them without copying
them into /run ourselves.
Diffstat (limited to 'dracut/anaconda-copy-cmdline.sh')
-rwxr-xr-x | dracut/anaconda-copy-cmdline.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dracut/anaconda-copy-cmdline.sh b/dracut/anaconda-copy-cmdline.sh new file mode 100755 index 000000000..26aa3407b --- /dev/null +++ b/dracut/anaconda-copy-cmdline.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Copy over cmdline(.d) files from the initrd to /run before pivot +mkdir -p /run/install/cmdline.d +cp /etc/cmdline.d/* /run/install/cmdline.d/ +cp /etc/cmdline /run/install/ |