~ubuntu-branches/ubuntu/oneiric/base-installer/oneiric

« back to all changes in this revision

Viewing changes to debian/bootstrap-base.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-05-26 15:54:12 UTC
  • mfrom: (0.2.18 sid)
  • Revision ID: james.westby@ubuntu.com-20110526155412-aj6c54r99zdaa1u6
Tags: 1.119ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Use and depend on the Ubuntu keyring.
  - Enable the restricted component by default, unless
    apt-setup/restricted is preseeded to false.
  - Set up the default sources.list to look in -updates and -security (the
    latter from apt-setup/security_host) as well as the unadorned suite;
    also -proposed if apt-setup/proposed is true.
  - Use Ubuntu kernel image names.
  - Allow preseeding base-installer/kernel/override-image to force a given
    kernel to be used.
  - Install busybox-initramfs rather than busybox.
  - Revert Joey's patch to call base-installer.d hooks after running
    debootstrap, which broke console-setup's expectation of being able to
    insert its configuration file into /target before console-setup is
    installed by debootstrap.
  - Add armel/imx51, armel/dove, and armel/omap subarchitectures.
  - Install kernel headers to match the kernel. This may be overridden by
    setting base-installer/kernel/headers to false.
  - Add base-installer/kernel/backports-modules template, which may be
    preseeded to install selected linux-backports-modules-* packages.
  - Run dpkg with --force-unsafe-io during installation.
* Explicitly drop code supporting -386 kernels, which were dropped from
  Ubuntu some time ago.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        if [ "${EXCLUDES}" ]; then
75
75
                exclude="--exclude=${EXCLUDES}"
76
76
        fi
 
77
        sigcheck="--no-check-gpg"
77
78
        if [ "$PROTOCOL" = http ] || [ "$PROTOCOL" = ftp ]; then
78
 
                if type gpgv >/dev/null && [ -f "$KEYRING" ]; then
 
79
                if type gpgv >/dev/null; then
79
80
                        if ! db_get debian-installer/allow_unauthenticated || [ "$RET" != true ]; then
80
 
                                keyring="--keyring=${KEYRING}"
 
81
                                sigcheck="--keyring=${KEYRING}"
81
82
                        fi
82
83
                else
83
84
                        warning "gpgv not found, not authenticating archive"
116
117
                        --debian-installer \
117
118
                        --resolve-deps \
118
119
                        ${include} ${exclude} \
119
 
                        ${keyring} \
 
120
                        ${sigcheck} \
120
121
                        ${DISTRIBUTION} /target \
121
122
                        "$PROTOCOL://$MIRROR$DIRECTORY" \
122
123
                        ${DEBOOTSTRAP_SCRIPT} \