debootstrap/debootstrap-norootforbuild.patch

21 lines
698 B
Diff
Raw Normal View History

diff -ur debootstrap.orig/Makefile debootstrap/Makefile
--- debootstrap.orig/Makefile 2011-08-10 13:59:34.000000000 +0200
+++ debootstrap/Makefile 2011-08-12 21:57:41.329074862 +0200
@@ -19,14 +19,13 @@
mkdir -p $(DESTDIR)/usr/sbin
cp -a scripts/* $(DSDIR)/scripts/
- install -o root -g root -m 0644 functions $(DSDIR)/
+ install -m 0644 functions $(DSDIR)/
sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
- chown root:root $(DESTDIR)/usr/sbin/debootstrap
chmod 0755 $(DESTDIR)/usr/sbin/debootstrap
ifeq ($(shell uname),Linux)
- install -o root -g root -m 0644 devices.tar.gz $(DSDIR)/
+ install -m 0644 devices.tar.gz $(DSDIR)/
endif
devices.tar.gz: