This commit is contained in:
parent
b776f4c1f5
commit
d62c0f3a4f
@ -1,4 +1,4 @@
|
|||||||
pikainstall (1.0.5-100pika11) pikauwu; urgency=medium
|
pikainstall (1.0.5-100pika12) pikauwu; urgency=medium
|
||||||
|
|
||||||
* Initial release.
|
* Initial release.
|
||||||
|
|
||||||
|
@ -15,19 +15,19 @@ chmod +x /var/albius-refind_linux.sh
|
|||||||
/var/albius-refind_linux.sh
|
/var/albius-refind_linux.sh
|
||||||
refind-install
|
refind-install
|
||||||
apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/archives/booster*.deb
|
apt install -y /var/cache/apt/archives/pika-refind-theme*.deb /var/cache/apt/archives/booster*.deb
|
||||||
apt remove casper vanilla-installer -y
|
apt remove casper vanilla-installer -y || true
|
||||||
apt autoremove -y
|
apt autoremove -y || true
|
||||||
locale-gen
|
locale-gen || true
|
||||||
useradd -m -k -U pikaos
|
useradd -m -k -U pikaos || true
|
||||||
echo pikaos:pikaos | sudo chpasswd
|
echo pikaos:pikaos | chpasswd || true
|
||||||
usermod -a -G sudo pikaos
|
usermod -a -G sudo pikaos || true
|
||||||
usermod -a -G lpadmin pikaos || true
|
usermod -a -G lpadmin pikaos || true
|
||||||
mkdir -p /etc/gdm3
|
mkdir -p /etc/gdm3 || true
|
||||||
mkdir -p /etc/sddm.conf.d/
|
mkdir -p /etc/sddm.conf.d/ || true
|
||||||
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf
|
echo -e '[daemon]\nAutomaticLogin=pikaos\nAutomaticLoginEnable=True' >> /etc/gdm3/custom.conf || true
|
||||||
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/autologin.conf
|
echo -e '[Autologin]\nUser=pikaos\nSession=plasma' > /etc/sddm.conf.d/zautologin.conf || true
|
||||||
mkdir -p /home/pikaos
|
mkdir -p /home/pikaos || true
|
||||||
cp -rvf /etc/skel/.* /home/pikaos/ || true
|
cp -rvf /etc/skel/.* /home/pikaos/ || true
|
||||||
mkdir -p /home/pikaos/.config/autostart
|
mkdir -p /home/pikaos/.config/autostart || true
|
||||||
cp /usr/share/applications/pika-first-setup.desktop /home/pikaos/.config/autostart
|
cp /usr/share/applications/pika-first-setup.desktop /home/pikaos/.config/autostart || true
|
||||||
chown -R pikaos:pikaos /home/pikaos
|
chown -R pikaos:pikaos /home/pikaos || true
|
@ -13,4 +13,4 @@ genfstab -U "$1" > "$1"/etc/fstab
|
|||||||
cat "$1"/etc/fstab | grep -v zram > "$1"/etc/fstab
|
cat "$1"/etc/fstab | grep -v zram > "$1"/etc/fstab
|
||||||
mkdir -pv "$1"/usr/lib/pika/pikainstall/
|
mkdir -pv "$1"/usr/lib/pika/pikainstall/
|
||||||
cp -rvf /usr/lib/pika/pikainstall/pika-install-chroot.sh "$1"/usr/lib/pika/pikainstall/
|
cp -rvf /usr/lib/pika/pikainstall/pika-install-chroot.sh "$1"/usr/lib/pika/pikainstall/
|
||||||
chroot "$1" /bin/bash -c "su - -c /usr/lib/pika/pikainstall/pika-install-chroot.sh"
|
chroot "$1" /bin/bash -c "/usr/lib/pika/pikainstall/pika-install-chroot.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user