* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:

- fix incorrect "echo"
  - add missing wrappers for apt, apt-cache
ubuntu/yakkety
Michael Vogt 10 years ago
parent 818be95bf2
commit 6e90ef925e

5
debian/changelog vendored

@ -5,12 +5,15 @@ livecd-rootfs (2.274) UNRELEASED; urgency=medium
- improve apt-get output
* live-build/auto/config:
- add click-apparmor for system-image
* live-build/ubuntu-core/hooks/400-create-apt-get-warning.binary:
- fix incorrect "echo"
- add missing wrappers for apt, apt-cache
[ James Hunt ]
* live-build/ubuntu-core/hooks/10-remove-documentation.binary:
- compress remaining documentation to save further space.
-- Michael Vogt <michael.vogt@ubuntu.com> Tue, 02 Dec 2014 14:57:39 +0100
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 08 Dec 2014 08:20:06 +0100
livecd-rootfs (2.273) vivid; urgency=low

@ -7,9 +7,13 @@ echo "I: Creating warning to use snappy when apt-get is used"
PREFIX=binary/boot/filesystem.dir
mkdir -p $PREFIX/usr/local/bin
cat >$PREFIX/usr/local/bin/apt-get <<EOF
cat >$PREFIX/usr/local/bin/no-apt <<EOF
#!/bin/sh
cat <<EOF
echo "Ubuntu Core does not use APT, see 'snappy --help'!"
Ubuntu Core does not use APT, see 'snappy --help'!
EOF
chmod 755 $PREFIX/usr/local/bin/apt-get
chmod 755 $PREFIX/usr/local/bin/no-apt
for cmd in apt apt-cache apt-get; do
ln -s no-apt $PREFIX/usr/local/bin/$cmd
done

Loading…
Cancel
Save