~ubuntu-branches/ubuntu/wily/debootstrap/wily

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-07-23 16:45:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090723164500-jep034mv3cq78qwy
On Linux, clear out /etc/mtab on exit if it's not a symlink. Should fix
problems Wouter Verhelst and Martin Michlmayr are seeing with
initramfs-tools MODULES=dep, although it probably isn't a perfect
solution.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
        ln -s gutsy $(DSDIR)/scripts/hardy
29
29
        ln -s gutsy $(DSDIR)/scripts/intrepid
 
30
        ln -s gutsy $(DSDIR)/scripts/jaunty
 
31
        ln -s gutsy $(DSDIR)/scripts/karmic
30
32
 
31
33
        sed 's/@VERSION@/$(VERSION)/g' debootstrap >$(DESTDIR)/usr/sbin/debootstrap
32
34
        chown root:root $(DESTDIR)/usr/sbin/debootstrap
39
41
        mkdir -p dev
40
42
        chown 0:0 dev
41
43
        chmod 755 dev
42
 
        (cd dev && $(MAKEDEV) std ptmx fd)
 
44
        (cd dev && $(MAKEDEV) std ptmx fd consoleonly)
43
45
        tar cf - dev | gzip -9 >devices.tar.gz
44
46
        rm -rf dev