diff options
author | Joey Hess <joeyh@debian.org> | 2007-06-16 17:14:16 (GMT) |
---|---|---|
committer | Joey Hess <joeyh@debian.org> | 2007-06-16 17:14:16 (GMT) |
commit | 2f68b95c25c72c8e9f8c45e3426ea14899489cd1 (patch) | |
tree | 1a1209d51a9aac9a9ad6e2d3595f00335a379794 /Makefile | |
parent | 70bb3b9d23ca41f6d269930ab76d02922af013ac (diff) | |
download | debootstrap-2f68b95c25c72c8e9f8c45e3426ea14899489cd1.zip debootstrap-2f68b95c25c72c8e9f8c45e3426ea14899489cd1.tar.gz debootstrap-2f68b95c25c72c8e9f8c45e3426ea14899489cd1.tar.bz2 |
* If /dev/MAKEDEV DNE, as on certain s390 machines, use /sbin/MAKEDEV.
Closes: #420908
Note that /dev/MAKEDEV is still the correct location, and is still tried
first so that building works on all FHS systems, as noted in #190239.
r47264
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,6 +13,8 @@ DEVS := generic hde hdf hdg hdh sde sdf sdg sdh scd-all initrd input usb md lp r $(call setarchdevs,powerpc,hdc hdd fd0 fd1 isdn-io m68k-mice) \ $(call setarchdevs,ia64,ida fd0 fd1 ataraid cciss) +MAKEDEV := $(shell if [ -e /dev/MAKEDEV ]; then echo /dev/MAKEDEV; else echo /sbin/MAKEDEV; fi) + all: pkgdetails devices-std.tar.gz devices.tar.gz debootstrap-arch clean: rm -f pkgdetails pkgdetails.o devices-std.tar.gz devices.tar.gz @@ -65,7 +67,7 @@ devices-std.tar.gz: mkdir -p dev chown 0:0 dev chmod 755 dev - (cd dev && /dev/MAKEDEV std ptmx) + (cd dev && $(MAKEDEV) std ptmx) tar cf - dev | gzip -9 >devices-std.tar.gz rm -rf dev @@ -76,7 +78,7 @@ devices.tar.gz: chown 0:0 dev chmod 755 dev - (cd dev && /dev/MAKEDEV $(DEVS)) + (cd dev && $(MAKEDEV) $(DEVS)) ifeq ($(ARCH),powerpc) # Maybe remove amiga/atari mice also? What about usbmouse? |