mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-17 13:51:32 +00:00
Import patches-unapplied version 2.276 to ubuntu/vivid-proposed
Imported using git-ubuntu import. Changelog parent: 46882a81aaffafffbc08bc47674c5f2f83e0823c New changelog entries: [ Mathieu Trudel-Lapierre ] * live-build/auto/config: add config for Ubuntu MATE. [ Michael Vogt ] * use generic kernel for all ubuntu-core system-image * live-build/ubuntu-core/hooks/01-setup_user.chroot: - run chpasswd after user moved into /var/lib/extrausers * live-build/ubuntu-core/hooks/01-setup_user.chroot: - run with -e
This commit is contained in:
parent
46882a81aa
commit
6583eeab58
14
debian/changelog
vendored
14
debian/changelog
vendored
@ -1,3 +1,17 @@
|
|||||||
|
livecd-rootfs (2.276) vivid; urgency=medium
|
||||||
|
|
||||||
|
[ Mathieu Trudel-Lapierre ]
|
||||||
|
* live-build/auto/config: add config for Ubuntu MATE.
|
||||||
|
|
||||||
|
[ Michael Vogt ]
|
||||||
|
* use generic kernel for all ubuntu-core system-image
|
||||||
|
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
|
||||||
|
- run chpasswd after user moved into /var/lib/extrausers
|
||||||
|
* live-build/ubuntu-core/hooks/01-setup_user.chroot:
|
||||||
|
- run with -e
|
||||||
|
|
||||||
|
-- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 28 Jan 2015 11:03:08 -0500
|
||||||
|
|
||||||
livecd-rootfs (2.275+ppa2) vivid; urgency=medium
|
livecd-rootfs (2.275+ppa2) vivid; urgency=medium
|
||||||
|
|
||||||
* live-build/ubuntu-core/hooks/04-configure_network.chroot: use
|
* live-build/ubuntu-core/hooks/04-configure_network.chroot: use
|
||||||
|
@ -149,6 +149,10 @@ if [ "$PREINSTALLED" = "true" ] && [ "$SUBPROJECT" != "wubi" ]; then
|
|||||||
add_package live oem-config-gtk ubiquity-frontend-gtk
|
add_package live oem-config-gtk ubiquity-frontend-gtk
|
||||||
add_package live ubiquity-slideshow-xubuntu
|
add_package live ubiquity-slideshow-xubuntu
|
||||||
;;
|
;;
|
||||||
|
ubuntu-mate)
|
||||||
|
add_package live oem-config-gtk ubiquity-frontend-gtk
|
||||||
|
add_package live ubiquity-slideshow-ubuntu-mate
|
||||||
|
;;
|
||||||
ubuntu-server)
|
ubuntu-server)
|
||||||
add_package live oem-config-debconf ubiquity-frontend-debconf
|
add_package live oem-config-debconf ubiquity-frontend-debconf
|
||||||
;;
|
;;
|
||||||
@ -306,6 +310,18 @@ case $PROJECT in
|
|||||||
COMPONENTS='main restricted universe'
|
COMPONENTS='main restricted universe'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
ubuntu-mate)
|
||||||
|
add_task install minimal standard ubuntu-mate-core ubuntu-mate-desktop
|
||||||
|
LIVE_TASK='ubuntu-mate-live'
|
||||||
|
case $ARCH in
|
||||||
|
amd64) add_package live linux-signed-generic ;;
|
||||||
|
esac
|
||||||
|
COMPONENTS='main restricted universe multiverse'
|
||||||
|
# The Ubuntu MATE STRUCTURE file has "feature
|
||||||
|
# no-follow-recommends". Mirror this.
|
||||||
|
export APT_OPTIONS="--yes --no-install-recommends"
|
||||||
|
;;
|
||||||
|
|
||||||
ubuntustudio-dvd)
|
ubuntustudio-dvd)
|
||||||
add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-font-meta ubuntustudio-graphics ubuntustudio-video ubuntustudio-publishing ubuntustudio-photography
|
add_task install minimal standard ubuntustudio-desktop ubuntustudio-audio ubuntustudio-font-meta ubuntustudio-graphics ubuntustudio-video ubuntustudio-publishing ubuntustudio-photography
|
||||||
COMPONENTS='main restricted universe multiverse'
|
COMPONENTS='main restricted universe multiverse'
|
||||||
@ -367,14 +383,13 @@ case $PROJECT in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# generic kernel etc
|
# generic kernel etc
|
||||||
|
KERNEL_FLAVOURS=generic
|
||||||
case $ARCH in
|
case $ARCH in
|
||||||
i386|amd64)
|
i386|amd64)
|
||||||
add_package install grub-pc
|
add_package install grub-pc
|
||||||
KERNEL_FLAVOURS=virtual
|
|
||||||
;;
|
;;
|
||||||
armhf)
|
armhf)
|
||||||
add_package install flash-kernel u-boot-tools
|
add_package install flash-kernel u-boot-tools
|
||||||
KERNEL_FLAVOURS=generic
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
OPTS="${OPTS:+$OPTS }--linux-packages=linux-image"
|
OPTS="${OPTS:+$OPTS }--linux-packages=linux-image"
|
||||||
|
@ -1,14 +1,13 @@
|
|||||||
#!/bin/sh -x
|
#!/bin/sh -x
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
USER=ubuntu
|
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 --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
|
chown -R $UGID:$UGID /home/$USER
|
||||||
|
|
||||||
# Enable libnss-extrusers
|
# Enable libnss-extrusers
|
||||||
@ -31,3 +30,8 @@ sed -i "/^$USER/d" /etc/group
|
|||||||
sed -i "/^$USER/d" /etc/passwd
|
sed -i "/^$USER/d" /etc/passwd
|
||||||
sed -i "/^$USER/d" /etc/shadow
|
sed -i "/^$USER/d" /etc/shadow
|
||||||
sed -i "/^$USER/d" /etc/gshadow
|
sed -i "/^$USER/d" /etc/gshadow
|
||||||
|
|
||||||
|
# needs to run *after* the user was moved out to /var/lib/extrausers
|
||||||
|
echo "I: set user $USER password to $USER"
|
||||||
|
echo "$USER:$USER" | chpasswd
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user