From: LaMont Jones Date: Sun, 26 Aug 2007 17:04:38 +0000 (-0600) Subject: build: fdisk (and therefore the udebs) do not get built on m68k. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d5f24dfad4fc375f3ce677df1b734048638036d;p=util-linux build: fdisk (and therefore the udebs) do not get built on m68k. --- diff --git a/debian/rules b/debian/rules index 1ff3d583..598ea244 100755 --- a/debian/rules +++ b/debian/rules @@ -103,8 +103,10 @@ ifneq ($(DISTRO),Debian) install -m 644 debian/hwclock.rules debian/util-linux/etc/udev/rules.d/85-hwclock.rules; \ fi endif - ln debian/util-linux/sbin/*fdisk debian/fdisk-udeb/usr/sbin - mv debian/fdisk-udeb/usr/sbin/cfdisk debian/cfdisk-udeb/usr/sbin + cd debian; if [ -f util-linux/bin/fdisk ]; then \ + ln util-linux/sbin/*fdisk fdisk-udeb/usr/sbin; \ + mv fdisk-udeb/usr/sbin/cfdisk cfdisk-udeb/usr/sbin; \ + fi cd debian/util-linux-locales && find usr/share/locale -type f | while read x; do ln $$x ../cfdisk-udeb/$$x; done ifeq ($(DEB_HOST_ARCH_OS),linux) ifeq ($(arch),$(findstring $(arch),powerpc ppc64))