From d2e11a09b8bb3d8a99549aa2dde215c3f341d08e Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sat, 23 Jun 2018 01:22:07 +0000 Subject: Sat Jun 23 01:22:07 UTC 2018 a/aaa_elflibs-15.0-x86_64-2.txz: Rebuilt. Upgraded libacl.so.1 and libattr.so.1. Added libaio.so.1 (needed by future versions of lvm). a/lvm2-2.02.177-x86_64-1.txz: Upgraded. Revert to the previous working version of lvm2. Based on the comments in the release notes for version 2.02.178, perhaps it would be prudent to sit out the next year and a half of planned instability. I can't recall ever _needing_ to upgrade LVM (the version number has been on 2.02.x for well over a decade)... let's avoid being beta testers as upstream refactors everything. isolinux/initrd.img: Rebuilt. Added libaio.so.1 (needed by future versions of lvm). usb-and-pxe-installers/usbboot.img: Rebuilt. Added libaio.so.1 (needed by future versions of lvm). --- source/xap/blackbox/doinst.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 source/xap/blackbox/doinst.sh (limited to 'source/xap/blackbox/doinst.sh') diff --git a/source/xap/blackbox/doinst.sh b/source/xap/blackbox/doinst.sh new file mode 100644 index 000000000..910a0011b --- /dev/null +++ b/source/xap/blackbox/doinst.sh @@ -0,0 +1,13 @@ +config() { + NEW="$1" + OLD="`dirname $NEW`/`basename $NEW .new`" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +config usr/share/blackbox/menu.new -- cgit v1.2.3-65-gdbad