~serge-hallyn/ubuntu/oneiric/lxc/fix-shutdown

« back to all changes in this revision

Viewing changes to templates/lxc-debian.in

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2011-07-12 13:08:26 UTC
  • Revision ID: james.westby@ubuntu.com-20110712130826-5db21f7p724hunud
Tags: 0.7.4.2-0.3ubuntu3
* Clean up packaging
  - remove 0002-disable-debian-checkroot-script.patch: it is wrong.
  - remove 0003-squeeze-missing-tty.patch: it is redundant.
  - diff-to-bcbd102cb: mark forwarded as not-needed
  - 0004-add-arm-to-supported-archs.patch: Add author and description.
  - 0004-0006: mark forwarded as yes
  - Not renumbering 0004-0006 as that is more confusing, and they
    will hopefully go away with 0.7.5.
  - remove dh_install calls from rules
  - rename lxc.overrides to lxc.lintian-overrides and remove rules entry
    to do so
  - remove commented out include of /usr/share/cdbs/1/rules/dpatch.mk

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        fi
37
37
    done
38
38
 
39
 
    # Squeeze only has /dev/tty and /dev/tty0 by default,
40
 
    # therefore creating missing device nodes for tty1-4.
41
 
    test -e $rootfs/dev/tty1 || mknod $rootfs/dev/tty1 c 4 1
42
 
    test -e $rootfs/dev/tty2 || mknod $rootfs/dev/tty2 c 4 2
43
 
    test -e $rootfs/dev/tty3 || mknod $rootfs/dev/tty3 c 4 3
44
 
    test -e $rootfs/dev/tty4 || mknod $rootfs/dev/tty4 c 4 4
45
 
 
46
39
    # configure the inittab
47
40
    cat <<EOF > $rootfs/etc/inittab
48
41
id:3:initdefault:
91
84
    fi
92
85
 
93
86
    # remove pointless services in a container
 
87
    chroot $rootfs /usr/sbin/update-rc.d -f checkroot.sh remove
94
88
    chroot $rootfs /usr/sbin/update-rc.d -f umountfs remove
95
89
    chroot $rootfs /usr/sbin/update-rc.d -f hwclock.sh remove
96
90
    chroot $rootfs /usr/sbin/update-rc.d -f hwclockfirst.sh remove