qubes-installer-qubes-os/anaconda/dracut/repo-genrules.sh
M. Vefa Bicakci 38f3e28d77
anaconda: Update to 23.19.10
Use the output of

  git diff --full-index --binary anaconda-22.20.13-1..anaconda-23.19.10-1

from anaconda's git repository and fix-up merge conflicts.
2016-04-10 00:00:00 -04:00

23 lines
669 B
Bash
Executable File

#!/bin/sh
# generate udev rules for handling anaconda-specific root devices
# (just the disk-based ones - the network ones are done by netroot)
. /lib/anaconda-lib.sh
case "$root" in
anaconda-disk:*)
# anaconda-disk:<device>[:<path>]
splitsep ":" "$root" f diskdev diskpath
diskdev=$(disk_to_dev_path $diskdev)
when_diskdev_appears $diskdev \
anaconda-diskroot \$env{DEVNAME} $diskpath
;;
anaconda-auto-cd)
# special catch-all rule for CDROMs
when_any_cdrom_appears \
anaconda-diskroot \$env{DEVNAME}
# HACK: anaconda demands that CDROMs be mounted at /mnt/install/source
ln -s repo /run/install/source
;;
esac