Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
dracut.1458
0148-dracut.sh-Fix-LABEL-and-other-fstab-syntax...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0148-dracut.sh-Fix-LABEL-and-other-fstab-syntax.patch of Package dracut.1458
From 445d0a70896485991ba8ccc763422eefcda1ba1e Mon Sep 17 00:00:00 2001 From: Thomas Renninger <trenn@suse.de> Date: Mon, 25 Aug 2014 18:04:05 +0200 Subject: dracut.sh: Fix LABEL= and other fstab syntax On my test system I had problem with -o device in combination with -l option, but this must have been a blkid, or sysfs issue. Patch should be correct. Signed-off-by: Thomas Renninger <trenn@suse.de> --- dracut.sh | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/dracut.sh b/dracut.sh index d087530..2baacfd 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1024,19 +1024,16 @@ for line in "${fstab_lines[@]}"; do #dev mp fs fsopts case "$dev" in UUID=*) - dev=/dev/disk/by-uuid/${dev#UUID=*} + dev=$(blkid -l -t PARTLABEL="$dev" -o device) ;; LABEL=*) - dwarn "Not supported fstab line: $@" + dev=$(blkid -l -t LABEL="$dev" -o device) ;; PARTUUID=*) - dwarn "Not supported fstab line: $@" + dev=$(blkid -l -t PARTUUID="$dev" -o device) ;; PARTLABEL=*) - dwarn "Not supported fstab line: $@" - ;; - *) - dwarn "Not supported fstab line: $@" + dev=$(blkid -l -t PARTLABEL="$dev" -o device) ;; esac push_host_devs "$dev" -- 1.7.6.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor