3
0
mirror of https://git.launchpad.net/livecd-rootfs synced 2025-04-10 18:51:18 +00:00

Import patches-unapplied version 2.360 to ubuntu/xenial-proposed

Imported using git-ubuntu import.

Changelog parent: 197a5ea75104cda2c0d563cd504a51710be385ad

New changelog entries:
  [ Michael Vogt ]
  * live-build/ubuntu-core/hooks/01-setup_user.chroot:
    - add default ubuntu user to "adm" and "sudo" groups
  [ Łukasz 'sil2100' Zemczak ]
  * Fix the previous apt list removal hook. This hook needs to
    be .binary as otherwise we're still left with apt lists when
    the image is published.
This commit is contained in:
Michael Vogt 2015-12-07 11:03:35 +01:00 committed by usd-importer
parent 197a5ea751
commit 5e6b71b87b
3 changed files with 16 additions and 3 deletions
debian
live-build
ubuntu-core/hooks
ubuntu-touch/hooks

13
debian/changelog vendored

@ -1,3 +1,16 @@
livecd-rootfs (2.360) xenial; urgency=medium
[ Michael Vogt ]
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
- add default ubuntu user to "adm" and "sudo" groups
[ Łukasz 'sil2100' Zemczak ]
* Fix the previous apt list removal hook. This hook needs to
be .binary as otherwise we're still left with apt lists when
the image is published.
-- Michael Vogt <michael.vogt@ubuntu.com> Mon, 07 Dec 2015 11:03:35 +0100
livecd-rootfs (2.359) xenial; urgency=medium
* ubuntu-cpc:

@ -6,7 +6,7 @@ USER=ubuntu
UGID=1000
echo "I: creating default user $USER"
adduser --gecos $USER --disabled-login $USER --uid $UGID
adduser --ingroup adm --ingroup sudo --gecos $USER --disabled-login $USER --uid $UGID
chown -R $UGID:$UGID /home/$USER

@ -5,5 +5,5 @@
# Author: Łukasz 'sil2100' Zemczak <achiang@canonical.com>
# Date : September 22, 2015
echo "Removing /var/lib/apt/lists/*"
find /var/lib/apt/lists/ -type f | xargs rm -f
echo "Removing /var/lib/apt/lists/* from the binary"
find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f