[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636977: Packaging Boot-Repair with dh_install

Dear all, does somebody know an example of package using dh_install ?  (the one in manpage is not explicit enough for me).

Thanks Thomas for your help.

By the way, what alessio has to do with all this?

He helped for the packaging preparation ( created the GIT, and improved several files in the debian folder).


# Initialize a new Git repo with upstream sources
mkdir boot-repair
cd boot-repair
tar -xvzf ../boot-repair_<version>.orig.tar.gz
mv boot-repair-<version>/* .
rmdir boot-repair-<version>
git init
git add *
git commit -a -m "Added initial upstream sources v<version>"

DONE, and pushed. ( http://anonscm.debian.org/gitweb/?p=collab-maint/boot-repair.git )

# Add the debian dir in a new branch
git checkout -b debian
echo "[DEFAULT]
upstream-branch = master
debian-branch = debian
export-dir = ../build-area/" >debian/gbp.conf

[ ... add all your files in the debian folder ...]

git add debian
git commit -a -m "Added initial debian folder"

but when i push, i don't see where this branch is in the GIT !?

# Now you can build

this gives me errors:

$ git-buildpackage
gbp:error: You have uncommitted changes in your source tree:
gbp:error: # On branch debian
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#    debian/boot-repair.debhelper.log
#    debian/boot-repair/
#    debian/clean-gui.debhelper.log
#    debian/clean-gui/
#    debian/clean-ubiquity.debhelper.log
#    debian/clean-ubiquity/
#    debian/clean.debhelper.log
#    debian/clean/
#    debian/os-uninstaller.debhelper.log
#    debian/os-uninstaller/
nothing added to commit but untracked files present (use "git add" to track)

gbp:error: Use --git-ignore-new to ignore.


Reply to: