Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed the control task of debian/rules.

  • Loading branch information...
commit fe35fcca28a3c815112f9362ffb2c6cff26598f1 1 parent 716b3e9
@varialus authored
Showing with 7 additions and 11 deletions.
  1. +3 −9 README
  2. +4 −2 kdragonflybsd-3/debian/rules
View
12 README
@@ -1,5 +1,4 @@
ToDo:
- - Find out whether the clean task of debian/rules really needs to be run as root.
- Make the kernel source package extract and apply debian patches automatically.
- Make the kernel compile.
- Make related packages compile, including the Hammer and Hammer2 file systems.
@@ -37,13 +36,8 @@ In one of two console terminals:
- svn checkout svn://svn.debian.org/glibc-bsd/trunk
- cd trunk/kfreebsd-9/
- ./debian/rules get-orig-source
- - Get fix from varialus.
- - Commit to git and push to github.
- - Send fix upstream.
- - ./debian/rules control
- - Get fix from varialus.
- - Commit to git and push to github.
- - Send fix upstream.
+ - touch ./debian/control
+ - fakeroot ./debian/rules control
- Figure out what prerequisites need to be run before running dpkg-buildpackage.
- dpkg-buildpackage
- Fix errors.
@@ -57,7 +51,7 @@ In the other console terminal:
- git clone git://github.com/varialus/DragonFlyDebian.git
- cd DragonFlyBSD/kdragonflybsd-3/
- ./debian/rules get-orig-source
- - ./debian/rules control
+ - fakeroot ./debian/rules control
- Figure out what prerequisites need to be run before running dpkg-buildpackage.
- Fix errors.
- Commit to git and push to github.
View
6 kdragonflybsd-3/debian/rules
@@ -102,7 +102,9 @@ control: clean
done >> $(CURDIR)/debian/control
clean:
- if [ -f $(CURDIR)/debian/control ] ; then dh_testdir ; fi
+ if [ ! -f $(CURDIR)/debian/control ] ; then touch $(CURDIR)/debian/control ; fi
+ dh_testdir
+ dh_testroot # Use root or fakeroot
rm -rf src kdragonflybsd-source-* flavor-* config
rm -f debian/kdragonflybsd-image-*.preinst
rm -f debian/kdragonflybsd-image-*.prerm
@@ -110,7 +112,7 @@ clean:
rm -f debian/kdragonflybsd-image-*.postrm
rm -f *-stamp
- if [ -f $(CURDIR)/debian/control ] ; then dh_clean ; fi
+ dh_clean
src: src-stamp
src-stamp:
Please sign in to comment.
Something went wrong with that request. Please try again.