refs #992 fix typo in package initramfs-tools name
refs #993 change root password for live environmentuser-story-905
parent
07671f9834
commit
d0696f0916
|
@ -85,6 +85,7 @@ mkdir -p $CHROOT_DIR
|
|||
# # Copio el script chroot_setup.sh al directorio chroot
|
||||
cp chroot_setup.sh $CHROOT_DIR
|
||||
cp buildlib.sh $CHROOT_DIR
|
||||
cp root_passwd $CHROOT_DIR
|
||||
chmod +x $CHROOT_DIR/chroot_setup.sh
|
||||
|
||||
# # Deploy boot strap
|
||||
|
|
|
@ -196,6 +196,11 @@ function user_add() {
|
|||
echo "og:og" | chpasswd
|
||||
}
|
||||
|
||||
function set_root_passwd() {
|
||||
ROOT_PASSWORD=$(cat /root_passwd)
|
||||
echo "root:$ROOT_PASSWORD" | chpasswd
|
||||
}
|
||||
|
||||
|
||||
## Main
|
||||
echo "ubuntu-fs-live" > /etc/hostname
|
||||
|
@ -210,6 +215,7 @@ install_packages sudo ubuntu-standard sudo casper dbus-bin mesa-utils mesa-vulk
|
|||
install_non_interactive sddm openbox plymouth calamares terminator pcmanfm yad
|
||||
install_no_recommends linux-image-generic
|
||||
user_add
|
||||
set_root_passwd
|
||||
configure_divert
|
||||
create_desktop_installer
|
||||
remove_unneeded_packages
|
||||
|
|
|
@ -16,7 +16,7 @@ source buildlib.sh
|
|||
set_root_passwd
|
||||
mount_proc_sys_dev
|
||||
setup_sources_list
|
||||
install_no_recommends ubuntu-minimal dbus-bin grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common grub-efi-amd64-signed shim-signed inittamfs-tools
|
||||
install_no_recommends ubuntu-minimal dbus-bin grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common grub-efi-amd64-signed shim-signed initramfs-tools
|
||||
configure_divert
|
||||
install_no_recommends linux-image-generic
|
||||
clean
|
||||
|
|
Loading…
Reference in New Issue