Imported using git-ubuntu import.
Changelog parent: 82eb59481a
New changelog entries:
[ Colin Watson ]
* live-build/auto/config: Add configuration for new kubuntu-plasma5
flavour.
[ James Hunt ]
* ubuntu-core: Run setup hooks as done for ubuntu-touch.
impish
parent
82eb59481a
commit
8a676fab23
@ -0,0 +1,12 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
USER=ubuntu
|
||||
UGID=1000
|
||||
|
||||
echo "I: creating default user $USER"
|
||||
adduser --gecos $USER --disabled-login $USER --uid $UGID
|
||||
|
||||
echo "I: set user $USER password to $USER"
|
||||
echo "$USER:$USER" | chpasswd
|
||||
|
||||
chown -R $UGID:$UGID /home/$USER
|
@ -0,0 +1,8 @@
|
||||
#!/bin/sh -x
|
||||
|
||||
USER=ubuntu
|
||||
|
||||
DEFGROUPS="sudo"
|
||||
|
||||
echo "I: add $USER to ($DEFGROUPS) group(s)"
|
||||
usermod -a -G ${DEFGROUPS} ${USER}
|
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# remove-documentation: Remove unnecessary documentation to reduce disk usage
|
||||
#
|
||||
# Author: Alex Chiang <achiang@canonical.com>
|
||||
# Date : November 9, 2010
|
||||
|
||||
echo "Removing documentation..."
|
||||
find /usr/share/doc -depth -type f ! -name copyright|xargs rm || true
|
||||
find /usr/share/doc -empty|xargs rmdir || true
|
||||
rm -rf /usr/share/man /usr/share/groff /usr/share/info /usr/share/lintian /usr/share/linda /var/cache/man
|
Loading…
Reference in new issue