[PATCH] chattr -i extlinux.sys

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] chattr -i extlinux.sys

Warren Togami
chattr -i extlinux.sys after it is installed, because it isn't useful to
be protected, and it is annoying as it prevents easy removal.

diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 4effb3e..26d431f 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -686,6 +699,7 @@ if [ -z "$multi" ]; then
      # and has to be run with the file system mounted
      mv $USBMNT/$SYSLINUXPATH/isolinux.cfg
$USBMNT/$SYSLINUXPATH/extlinux.conf
      extlinux -i $USBMNT/$SYSLINUXPATH
+    chattr -i $USBMNT/$SYSLINUXPATH/extlinux.sys
      cleanup
    fi
  else

--
Fedora-livecd-list mailing list
[hidden email]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list