diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
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 |
86 | PACKAGE=busybox-udeb | 86 | PACKAGE=busybox-udeb |
87 | VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2) | 87 | VERSION=$(shell dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2 | sed -e s/[0-9]://g) |
88 | ARCH=$(shell dpkg --print-architecture) | 88 | ARCH=$(shell dpkg --print-architecture) |
89 | FILENAME=$(PACKAGE)_$(VERSION)_$(ARCH).udeb | 89 | FILENAME=$(PACKAGE)_$(VERSION)_$(ARCH).udeb |
90 | PRIORITY=$(shell grep ^Priority: debian/control | cut -d ' ' -f 2) | ||
91 | 90 | ||
92 | build-udeb: debian/build-stamp-busybox-udeb | 91 | build-udeb: debian/build-stamp-busybox-udeb |
93 | debian/build-stamp-busybox-udeb: | 92 | debian/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 | ||