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

Not needed more. uuid assigned directly in configs.
This commit is contained in:
Anton Midyukov 2021-05-12 13:43:18 +07:00
parent 3e77e02956
commit 5cbd365f2c

View File

@ -1,20 +0,0 @@
#!/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