Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fetching kickstarts from OEMDRV #6222

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dracut/anaconda-diskroot
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
# Then do not run again.
[ -e "/dev/root" ] && exit 1

# Skip partitions on a disk with the iso9660 filesystem. Blivet doesn't
# recognize these partitions, so we mount the disk in stage2. However, it
# will fail if one of its partitions is already mounted, for example here.
# Skip partitions on a disk with the iso9660 filesystem, set by LABEL or UUID.
# Blivet doesn't recognize these partitions, so we mount the disk in stage2.
# However, it will fail if one of its partitions is already mounted, for example here.
# Therefore, skip the partitions and use the disk to find our root image.
# See the bug 1878784.
if dev_is_on_disk_with_iso9660 "$dev"; then
if [[ "$root" =~ "by-label"|"by-uuid" ]] && dev_is_on_disk_with_iso9660 "$dev"; then
debug_msg "Skipping $dev on a disk with iso9660."
exit 1
fi
Expand Down
Loading