mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 10:51:11 +00:00
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
- copy touch hacks to create needed userdirs (lightdm & usermetrics), the users are added by the script and not the usual postinst so their uderdirs are not created as they should
This commit is contained in:
parent
eb41638781
commit
5fa4811051
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -4,6 +4,10 @@ livecd-rootfs (2.317) UNRELEASED; urgency=medium
|
||||
- create other needed directories
|
||||
* live-build/ubuntu-desktop-next/includes.chroot:
|
||||
- copy ubuntu-core's include for /etc/hosts and resolv.conf config
|
||||
* live-build/ubuntu-core/hooks/00-uid-gid-fix.chroot_early:
|
||||
- copy touch hacks to create needed userdirs (lightdm & usermetrics),
|
||||
the users are added by the script and not the usual postinst so their
|
||||
uderdirs are not created as they should
|
||||
|
||||
-- Sebastien Bacher <seb128@ubuntu.com> Fri, 19 Jun 2015 10:26:41 +0200
|
||||
|
||||
|
@ -277,6 +277,18 @@ if [ -n "$ERRCNT" ]; then
|
||||
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
|
||||
|
||||
echo "adjusting ownership of /var/log" >&2
|
||||
chown root:syslog /var/log
|
||||
ls -ln /var | grep log >&2
|
||||
|
||||
# Record the current state for later comparison
|
||||
for file in /etc/passwd /etc/shadow /etc/group /etc/gshadow; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user