qubes-installer-qubes-os/anaconda/dracut/anaconda-copy-cmdline.sh
Marek Marczykowski-Górecki f73b3741f0 Update anaconda to 20.25.16
Apply result of "git diff anaconda-18.37.11-1..anaconda-20.25.16-1" and
resolve conflicts.
2014-04-08 05:50:31 +02:00

8 lines
244 B
Bash
Executable File

#!/bin/sh
# Copy over cmdline(.d) files from the initrd to /run before pivot
mkdir -p /run/install/cmdline.d
for f in /etc/cmdline.d/*; do
[ -e $f ] && cp $f /run/install/cmdline.d/
done
[ -e /etc/cmdline ] && cp /etc/cmdline /run/install/