Skip to content

Commit

Permalink
Fixed the control task of debian/rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
varialus committed Oct 9, 2012
1 parent 716b3e9 commit fe35fcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
12 changes: 3 additions & 9 deletions 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.
Expand Down Expand Up @@ -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.
Expand All @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions kdragonflybsd-3/debian/rules
Expand Up @@ -102,15 +102,17 @@ 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
rm -f debian/kdragonflybsd-image-*.postinst
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:
Expand Down

0 comments on commit fe35fcc

Please sign in to comment.