From 26ae73c1291ff8d282f7ca7f6e1d4df2e5549759 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 26 Sep 2010 17:16:37 +0000 Subject: /dev/MAKEDEV cannot be relied on (udev likes to make it a symlink to true). Always use /sbin/MAKEDEV. Closes: #598080 r64850 --- Makefile | 2 +- debian/changelog | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b2afaaa..b483020 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # avoid dpkg-dev dependency; fish out the version with sed VERSION := $(shell sed 's/.*(\(.*\)).*/\1/; q' debian/changelog) -MAKEDEV := $(shell if [ -e /dev/MAKEDEV ]; then echo /dev/MAKEDEV; else echo /sbin/MAKEDEV; fi) +MAKEDEV := /sbin/MAKEDEV all: devices.tar.gz clean: diff --git a/debian/changelog b/debian/changelog index 922febb..382e94e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,9 @@ debootstrap (1.0.25) UNRELEASED; urgency=low * Remove debug statement that slipped in. - * Add test that devices.tar.gz not be somehow empty. Closes: #598080 + * Add test to guard against devices.tar.gz being empty. + * /dev/MAKEDEV cannot be relied on (udev likes to make it a symlink to + true). Always use /sbin/MAKEDEV. Closes: #598080 -- Joey Hess Mon, 20 Sep 2010 13:22:56 -0400 -- cgit v0.12