debootstrap/debootstrap-norootforbuild.patch
Stephan Kulow 0be4bdae11 Accepting request 116306 from home:flichtenheld
I would like to get this package into factory. devel:tools seemed like the best devel project for it.

OBS-URL: https://build.opensuse.org/request/show/116306
OBS-URL: https://build.opensuse.org/package/show/devel:tools/debootstrap?expand=0&rev=1
2012-05-03 07:44:03 +00:00

21 lines
698 B
Diff

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: