From 9d5f24dfad4fc375f3ce677df1b734048638036d Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Sun, 26 Aug 2007 11:04:38 -0600 Subject: [PATCH] build: fdisk (and therefore the udebs) do not get built on m68k. --- debian/rules | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)) -- 2.39.5