diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-05-22 21:16:16 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-05-23 18:31:00 +0100 |
commit | b3aad1868700a0a88d18142891b659d0a42d714b (patch) | |
tree | ae5a255a2dce3126c5af8980be5cdfddaee3ac2b /examples/dracut/mgalive-parse.sh | |
parent | 9d42c347bf1f55f937b89b032e0240d82831296c (diff) | |
download | drakiso-b3aad1868700a0a88d18142891b659d0a42d714b.tar drakiso-b3aad1868700a0a88d18142891b659d0a42d714b.tar.gz drakiso-b3aad1868700a0a88d18142891b659d0a42d714b.tar.bz2 drakiso-b3aad1868700a0a88d18142891b659d0a42d714b.tar.xz drakiso-b3aad1868700a0a88d18142891b659d0a42d714b.zip |
dracut mgalive module changes are now in the dracut package.
Diffstat (limited to 'examples/dracut/mgalive-parse.sh')
-rwxr-xr-x | examples/dracut/mgalive-parse.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/examples/dracut/mgalive-parse.sh b/examples/dracut/mgalive-parse.sh deleted file mode 100755 index c5225ba..0000000 --- a/examples/dracut/mgalive-parse.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# live images are specified with -# root=mgalive:backingdev - -[ -z "$root" ] && root=$(getarg root=) - -if [ "${root%%:*}" = "mgalive" ] ; then - liveroot=$root -fi - -[ "${liveroot%%:*}" = "mgalive" ] || return - -modprobe -q loop - -case "$liveroot" in - mgalive:LABEL=*|LABEL=*) \ - root="${root#mgalive:}" - root="$(echo $root | sed 's,/,\\x2f,g')" - root="mgalive:/dev/disk/by-label/${root#LABEL=}" - rootok=1 ;; - mgalive:UUID=*|UUID=*) \ - root="${root#mgalive:}" - root="mgalive:/dev/disk/by-uuid/${root#UUID=}" - rootok=1 ;; -esac -info "root was $liveroot, is now $root" - -# make sure that init doesn't complain -[ -z "$root" ] && root="mgalive" - -wait_for_dev /live/union |