aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules
index 5271b97fd..1d7413c35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,10 +84,9 @@ do_static: half_clean build-static install-static
84 84
85# Now for the .udeb stuff 85# Now for the .udeb stuff
86PACKAGE=busybox-udeb 86PACKAGE=busybox-udeb
87VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2) 87VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | sed -e s/[0-9]://g)
88ARCH=$(shell dpkg --print-architecture) 88ARCH=$(shell dpkg --print-architecture)
89FILENAME=$(PACKAGE)_$(VERSION)_$(ARCH).udeb 89FILENAME=$(PACKAGE)_$(VERSION)_$(ARCH).udeb
90PRIORITY=$(shell grep ^Priority: debian/control | cut -d ' ' -f 2)
91 90
92build-udeb: debian/build-stamp-busybox-udeb 91build-udeb: debian/build-stamp-busybox-udeb
93debian/build-stamp-busybox-udeb: 92debian/build-stamp-busybox-udeb:
@@ -186,7 +185,7 @@ busybox-udeb: do_udeb
186 # Don't write your stupid guesses to debian/files. 185 # Don't write your stupid guesses to debian/files.
187 dh_gencontrol -p$@ -- -fdebian/files~ 186 dh_gencontrol -p$@ -- -fdebian/files~
188 # Register file manually. 187 # Register file manually.
189 dpkg-distaddfile $(FILENAME) debian-installer $(PRIORITY) 188 dpkg-distaddfile $(FILENAME) debian-installer standard
190 dh_md5sums -p$@ 189 dh_md5sums -p$@
191 dh_builddeb -p$@ --filename=$(FILENAME) 190 dh_builddeb -p$@ --filename=$(FILENAME)
192 191