opdating build scripts
This commit is contained in:
parent
26da7ecf92
commit
6cae3acbdd
|
@ -154,6 +154,7 @@ cp $uchinanchu/pepscripts/* $uchinanchu/fusato/config/includes.installer/preseed
|
|||
cp $uchinanchu/pepsources/multimedia.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/peppermint.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/sources-final
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepkeyrings/* $uchinanchu/fusato/config/includes.installer/preseed/keyrings
|
||||
cp $uchinanchu/polkit/* $uchinanchu/fusato/config/includes.installer/preseed/polkit
|
||||
cp $uchinanchu/pepapplication/* $uchinanchu/fusato/config/includes.installer/preseed/apps
|
||||
|
|
|
@ -155,6 +155,7 @@ cp $uchinanchu/pepscripts/* $uchinanchu/fusato/config/includes.installer/preseed
|
|||
cp $uchinanchu/pepsources/multimedia.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/peppermint.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/sources-final
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepkeyrings/* $uchinanchu/fusato/config/includes.installer/preseed/keyrings
|
||||
cp $uchinanchu/polkit/* $uchinanchu/fusato/config/includes.installer/preseed/polkit
|
||||
cp $uchinanchu/pepapplication/* $uchinanchu/fusato/config/includes.installer/preseed/apps
|
||||
|
|
|
@ -158,6 +158,7 @@ cp $uchinanchu/pepscripts/* $uchinanchu/fusato/config/includes.installer/preseed
|
|||
cp $uchinanchu/pepsources/multimedia.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/peppermint.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/sources-final
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepkeyrings/* $uchinanchu/fusato/config/includes.installer/preseed/keyrings
|
||||
cp $uchinanchu/polkit/* $uchinanchu/fusato/config/includes.installer/preseed/polkit
|
||||
cp $uchinanchu/pepapplication/* $uchinanchu/fusato/config/includes.installer/preseed/apps
|
||||
|
|
|
@ -167,6 +167,7 @@ cp $uchinanchu/pepscriptsdev/* $uchinanchu/fusato/config/includes.installer/pres
|
|||
cp $uchinanchu/pepsources/multimedia.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/peppermint.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/sources-final
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepkeyrings/* $uchinanchu/fusato/config/includes.installer/preseed/keyrings
|
||||
cp $uchinanchu/polkit/* $uchinanchu/fusato/config/includes.installer/preseed/polkit
|
||||
cp $uchinanchu/pepapplication/* $uchinanchu/fusato/config/includes.installer/preseed/apps
|
||||
|
|
|
@ -167,6 +167,7 @@ cp $uchinanchu/pepscriptsdev/* $uchinanchu/fusato/config/includes.installer/pres
|
|||
cp $uchinanchu/pepsources/multimedia.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/peppermint.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/sources-final
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepkeyrings/* $uchinanchu/fusato/config/includes.installer/preseed/keyrings
|
||||
cp $uchinanchu/polkit/* $uchinanchu/fusato/config/includes.installer/preseed/polkit
|
||||
cp $uchinanchu/pepapplication/* $uchinanchu/fusato/config/includes.installer/preseed/apps
|
||||
|
|
|
@ -171,6 +171,7 @@ cp $uchinanchu/pepscriptsdev/* $uchinanchu/fusato/config/includes.installer/pres
|
|||
cp $uchinanchu/pepsources/multimedia.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/peppermint.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/sources-final
|
||||
cp $uchinanchu/pepsources/sources.list $uchinanchu/fusato/config/includes.installer/preseed/repos
|
||||
cp $uchinanchu/pepkeyrings/* $uchinanchu/fusato/config/includes.installer/preseed/keyrings
|
||||
cp $uchinanchu/polkit/* $uchinanchu/fusato/config/includes.installer/preseed/polkit
|
||||
cp $uchinanchu/pepapplication/* $uchinanchu/fusato/config/includes.installer/preseed/apps
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
# This script copies a file to the chroot and runs commands during the Debian installation process.
|
||||
|
||||
# setup a folder structure
|
||||
mkdir /target/etc/skel/.local/share/pmostools
|
||||
mkdir /target/opt/pepconf
|
||||
mkdir /target/opt/pypep/dbpep
|
||||
mkdir -p /target/etc/skel/.local/share/pmostools
|
||||
mkdir -p /target/opt/pepconf
|
||||
mkdir -p /target/opt/pypep/dbpep
|
||||
|
||||
|
||||
# Copy files to the chroot directory
|
||||
|
@ -30,10 +30,10 @@ cp /preseed/pixmaps/* /target/usr/share/pixmaps
|
|||
|
||||
|
||||
# Copy recursive files and sub-directories
|
||||
cp -r /preseed/protools/* /target/usr/local/bin
|
||||
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
|
||||
|
@ -44,15 +44,15 @@ ln -s Debian.mirrors Peppermint.mirrors
|
|||
cd /target/usr/share/distro-info/
|
||||
ln -s debian.csv peppermint.csv
|
||||
cd /target/usr/share/
|
||||
ln -s -r icons pepicons
|
||||
ln -s -r themes pepthemes
|
||||
ls -s -r backgrounds pepwallpaper
|
||||
ln -s icons pepicons
|
||||
ln -s themes pepthemes
|
||||
ln -s backgrounds pepwallpaper
|
||||
chmod 777 pepicons
|
||||
chmod 777 pepthemes
|
||||
chmod 777 pepwallpaper
|
||||
|
||||
# Install hblock
|
||||
in-target /bin/bash -c curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.1/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 \
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
|
||||
|
||||
# setup a folder structure
|
||||
mkdir /target/etc/skel/.local/share/pmostools
|
||||
mkdir /target/opt/pepconf
|
||||
mkdir /target/opt/pypep/dbpep
|
||||
mkdir -p /target/etc/skel/.local/share/pmostools
|
||||
mkdir -p /target/opt/pepconf
|
||||
mkdir -p /target/opt/pypep/dbpep
|
||||
|
||||
|
||||
# Copy files to the chroot directory
|
||||
|
@ -45,15 +45,15 @@ ln -s Devuan.mirrors Peppermint.mirrors
|
|||
cd /target/usr/share/distro-info/
|
||||
ln -s devuan.csv peppermint.csv
|
||||
cd /target/usr/share/
|
||||
ln -s -r icons pepicons
|
||||
ln -s -r themes pepthemes
|
||||
ls -s -r backgrounds pepwallpaper
|
||||
ln -s icons pepicons
|
||||
ln -s themes pepthemes
|
||||
ln -s backgrounds pepwallpaper
|
||||
chmod 777 pepicons
|
||||
chmod 777 pepthemes
|
||||
chmod 777 pepwallpaper
|
||||
|
||||
# Install hblock
|
||||
in-target /bin/bash -c curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.1/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 \
|
||||
|
|
Loading…
Reference in New Issue