mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-15 21:31:11 +00:00
Pre-create some home directories
This commit is contained in:
parent
372216dfa0
commit
83120c758c
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
||||
livecd-rootfs (2.247) UNRELEASED; urgency=medium
|
||||
|
||||
* live-build/ubuntu-touch/hooks/00-uid-gid-fix.chroot_early:
|
||||
Create some directories which would otherwise go missing due to our
|
||||
pre-created users. (LP: #1374553)
|
||||
|
||||
-- Stéphane Graber <stgraber@ubuntu.com> Fri, 26 Sep 2014 14:39:49 -0400
|
||||
|
||||
livecd-rootfs (2.246) utopic; urgency=medium
|
||||
|
||||
* live-build/auto/config: Use ubuntukylin-live task for ubuntukylin, not
|
||||
|
@ -244,6 +244,16 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# Create some missing directories
|
||||
mkdir -p /var/lib/lightdm
|
||||
chown lightdm:lightdm /var/lib/lightdm
|
||||
chmod 750 /var/lib/lightdm
|
||||
|
||||
mkdir -p /var/lib/usermetrics
|
||||
chown usermetrics:usermetrics /var/lib/usermetrics
|
||||
chmod 750 /var/lib/usermetrics
|
||||
|
||||
# Record the current state for later comparison
|
||||
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do
|
||||
rm -f ${file}-
|
||||
|
Loading…
x
Reference in New Issue
Block a user