Thomas Nyberg wrote: > I am trying to build the thunderbird package with some modifications. I > made the modifications and commited the changes to a local patch, but > then during the build (using `debuild -uc -us`) I ran out of space. I > ran `debuild clean` and then deleted different things on my computer and > then tried to run the build again, but this time it no longer even > starts. It immediately complains about files that were changed. >
fakeroot make -f debian/rules clean > It prints out the files that are changed and provides a patch file > `/tmp/icedove_45.8.0-3~deb8u1.diff.fG4ELW` and asks if I want to commit > the changes with `dpkg-source --commit`. I don't, however, see any way > to throw away these changes. How do I do this? If I used git, I would do > something like `git stash; git stash drop`. Another approach would be to > apply this patch file in reverse, but I'm not sure how to do that. just package orig from source. I would do something like this export package=icedove_45.8.0-3~deb8u1; test -d $package/debian && tar cJf $package.orig.tar.xz --exclude=$package/debian --exclude=$package/.git --exclude=$package/obj-x86_64-linux-gnu $package cd $package debuild -uc -us -b regards