[Glibc-bsd-commits] r3732 - trunk/kfreebsd-10/debian
Robert Millan
rmh at alioth.debian.org
Wed Oct 12 09:59:47 UTC 2011
Author: rmh
Date: 2011-10-12 09:59:47 +0000 (Wed, 12 Oct 2011)
New Revision: 3732
Modified:
trunk/kfreebsd-10/debian/changelog
trunk/kfreebsd-10/debian/kfreebsd-image.postinst.in
Log:
* Remove /boot symlink kludge. See:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633561#88
Modified: trunk/kfreebsd-10/debian/changelog
===================================================================
--- trunk/kfreebsd-10/debian/changelog 2011-10-12 09:57:04 UTC (rev 3731)
+++ trunk/kfreebsd-10/debian/changelog 2011-10-12 09:59:47 UTC (rev 3732)
@@ -1,3 +1,10 @@
+kfreebsd-10 (10.0~svn226224-2) UNRELEASED; urgency=low
+
+ * Remove /boot symlink kludge. See:
+ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633561#88
+
+ -- Robert Millan <rmh at debian.org> Wed, 12 Oct 2011 11:58:18 +0200
+
kfreebsd-10 (10.0~svn226224-1) experimental; urgency=low
* New upstream snapshot.
Modified: trunk/kfreebsd-10/debian/kfreebsd-image.postinst.in
===================================================================
--- trunk/kfreebsd-10/debian/kfreebsd-image.postinst.in 2011-10-12 09:57:04 UTC (rev 3731)
+++ trunk/kfreebsd-10/debian/kfreebsd-image.postinst.in 2011-10-12 09:59:47 UTC (rev 3732)
@@ -24,37 +24,6 @@
case "$1" in
configure)
- # Don't do symlinks if explicitely disabled
- if [ -z "$(sed -e '/^\s*do_symlinks\s*=\s*\(no\|false\|0\)\s*$/!d' $KERNEL_IMG_CONF 2>/dev/null)" ] ; then
- for i in kernel.gz acpi.ko ; do
- if test -e /boot/kernel/$i && ! test -L /boot/kernel/$i ; then
- echo "What happen!! /boot/kernel/$i exists but is not a symlink."
- exit 1
- fi
- done
-
- mkdir -p /boot/kernel
-
- if [ "$(readlink -f /boot/kernel/kernel.gz)" != "/boot/kfreebsd-$RELEASE.gz" ] ; then
- rm -f /boot/kernel/kernel.old.gz
- if [ -L /boot/kernel/kernel.gz ] ; then
- mv /boot/kernel/kernel.gz /boot/kernel/kernel.old.gz
- fi
- ln -s /boot/kfreebsd-$RELEASE.gz /boot/kernel/kernel.gz
- fi
-
- # on i386 acpi MUST be within kfreebsd-loader reach
- if [ "${RELEASE%%-[456]86}" != "${RELEASE}" ] ; then
- if [ "$(readlink -f /boot/kernel/acpi.ko)" != "/lib/modules/$RELEASE/acpi.ko" ] ; then
- rm -f /boot/kernel/acpi.ko.old
- if [ -L /boot/kernel/acpi.ko ] ; then
- mv /boot/kernel/acpi.ko /boot/kernel/acpi.ko.old
- fi
- ln -s /lib/modules/$RELEASE/acpi.ko /boot/kernel/acpi.ko
- fi
- fi
- fi
-
# Sanitize and quote maintainer script parameters
for p in "$@"; do
q="$(echo "$p" | sed -e "s/'/'\\''/g")"
More information about the Glibc-bsd-commits
mailing list