mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +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:
parent
197a5ea751
commit
5e6b71b87b
13
debian/changelog
vendored
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
|
livecd-rootfs (2.359) xenial; urgency=medium
|
||||||
|
|
||||||
* ubuntu-cpc:
|
* ubuntu-cpc:
|
||||||
|
@ -6,7 +6,7 @@ USER=ubuntu
|
|||||||
UGID=1000
|
UGID=1000
|
||||||
|
|
||||||
echo "I: creating default user $USER"
|
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
|
chown -R $UGID:$UGID /home/$USER
|
||||||
|
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
# Author: Łukasz 'sil2100' Zemczak <achiang@canonical.com>
|
# Author: Łukasz 'sil2100' Zemczak <achiang@canonical.com>
|
||||||
# Date : September 22, 2015
|
# Date : September 22, 2015
|
||||||
|
|
||||||
echo "Removing /var/lib/apt/lists/*"
|
echo "Removing /var/lib/apt/lists/* from the binary"
|
||||||
find /var/lib/apt/lists/ -type f | xargs rm -f
|
find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f
|
Loading…
x
Reference in New Issue
Block a user