update pepscripts
This commit is contained in:
parent
6cae3acbdd
commit
42e2c0fe2f
|
@ -36,9 +36,7 @@ cp -r /preseed/grub-themes/themes /target/boot/grub
|
|||
cp -r /preseed/tools/* /target/etc/skel/.local/share/pmostools
|
||||
|
||||
# Run a commands in the chroot
|
||||
chroot /target update-initramfs -u
|
||||
chroot /target update-grub
|
||||
cd /target//usr/share/python-apt/templates/
|
||||
cd /target/usr/share/python-apt/templates/
|
||||
ln -s Debian.info Peppermint.info
|
||||
ln -s Debian.mirrors Peppermint.mirrors
|
||||
cd /target/usr/share/distro-info/
|
||||
|
@ -53,10 +51,14 @@ chmod 777 pepwallpaper
|
|||
|
||||
# Install hblock
|
||||
chroot /target curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.1/hblock' \
|
||||
&& echo 'bb1f6fcafdcba6f7bd9e12613fc92b02a0a0da1263b0e44d209cb40d8715d647 /tmp/hblock' | shasum -c \
|
||||
&& sudo mv /tmp/hblock /usr/local/bin/hblock \
|
||||
&& sudo chown 0:0 /usr/local/bin/hblock \
|
||||
&& sudo chmod 755 /usr/local/bin/hblock
|
||||
&& echo 'bb1f6fcafdcba6f7bd9e12613fc92b02a0a0da1263b0e44d209cb40d8715d647 /tmp/hblock' | sha256sum -c \
|
||||
&& mv /tmp/hblock /usr/local/bin/hblock \
|
||||
&& chown 0:0 /usr/local/bin/hblock \
|
||||
&& chmod 755 /usr/local/bin/hblock
|
||||
|
||||
# update gub and initramfs
|
||||
chroot /target update-initramfs -u
|
||||
chroot /target update-grub
|
||||
|
||||
|
||||
exit 0
|
||||
|
|
|
@ -34,7 +34,7 @@ cp /preseed/pixmaps/* /target/usr/share/pixmaps
|
|||
cp -r /preseed/protools/* /target/usr/local/bin
|
||||
cp -r /preseed/py/* /target/usr/lib/python3/dist-packages
|
||||
cp -r /preseed/grub-themes/themes /target/boot/grub
|
||||
cp -r /preseed/tools* /target/etc/skel/.local/share/pmostools
|
||||
cp -r /preseed/tools/* /target/etc/skel/.local/share/pmostools
|
||||
|
||||
# Run a commands in the chroot
|
||||
chroot /target update-initramfs -u
|
||||
|
|
Loading…
Reference in New Issue