Commit 5cbd365f authored by Anton Midyukov's avatar Anton Midyukov

uuid-iso: drop 30-propagator-method-cdrom-fuid

Not needed more. uuid assigned directly in configs.
parent 3e77e029
#!/bin/sh
# postprocess configurations
# set special automatic method
# workaround the bug 39811
gcfg='boot/grub/grub.cfg'
scfg='syslinux/*.cfg'
cd "$WORKDIR"
# apply method disk with uuid if available
[ -n "$GLOBAL_UUID_ISO" ] || exit 0
if [ -n "$(find $scfg)" ]; then
sed -i "s/automatic=method:cdrom/automatic=method:cdrom,fuid:$GLOBAL_UUID_ISO/" $scfg
fi
if [ -f "$gcfg" ]; then
sed -i "s/automatic=method:cdrom/automatic=method:cdrom,fuid:$GLOBAL_UUID_ISO/" $gcfg
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment