OSDN Git Service

2021.01.04 Update
[rebornos/cnchi-gnome-mac-osdn.git] / build.sh
index 32b0b06..6461062 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -301,8 +301,19 @@ cp ${script_path}/Cnchi/welcome.py ${work_dir}/${arch}/airootfs/usr/share/cnchi/
 #cp ${script_path}/Cnchi/metalink.py ${work_dir}/${arch}/airootfs/usr/share/cnchi/src/download/
 #rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/src/installation/pac.py
 #cp ${script_path}/Cnchi/pac.py ${work_dir}/${arch}/airootfs/usr/share/cnchi/src/installation/
+# Changing logo images
 rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/antergos-logo-mini2.png
 cp ${script_path}/Cnchi/antergos-logo-mini2.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
+rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/antergos-for-everyone-black1.png
+cp ${script_path}/Cnchi/antergos-for-everyone-black1.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
+rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/antergos-for-everyone-white1.png
+cp ${script_path}/Cnchi/antergos-for-everyone-white1.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
+rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/antergos-logo.png
+cp ${script_path}/Cnchi/antergos-logo.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
+rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/antergos-logo-mini.png
+cp ${script_path}/Cnchi/antergos-logo-mini.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
+rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/antergos-logo-mini2-OLD.png
+cp ${script_path}/Cnchi/antergos-logo-mini2-OLD.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
 cp ${script_path}/Cnchi/20-intel.conf ${work_dir}/${arch}/airootfs/usr/share/cnchi/
 cp ${script_path}/Cnchi/lightdm-webkit2-greeter.conf ${work_dir}/${arch}/airootfs/usr/share/cnchi/
 rm ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/slides/1.png
@@ -446,6 +457,17 @@ cp ${script_path}/Cnchi/main_window.py ${work_dir}/${arch}/airootfs/usr/share/cn
 # ===>>> Add new png files used by modify main_window.py  <<<=== #
 cp ${script_path}/Cnchi/rebornos-logo-mini2.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
 cp ${script_path}/Cnchi/rebornos-icon.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/data/images/antergos/
+# ===>>> Files to configure lightdm with RebornOS and lightdm-gtk-greeter <<<=== #
+cp ${script_path}/Cnchi/lightdm.conf ${work_dir}/${arch}/airootfs/usr/share/cnchi/
+cp ${script_path}/Cnchi/lightdm-gtk-greeter.conf ${work_dir}/${arch}/airootfs/usr/share/cnchi/
+# To be used by os-release in its LOGO = braces line
+cp ${script_path}/Cnchi/rebornos.png ${work_dir}/${arch}/airootfs/usr/share/cnchi/
+cp ${script_path}/Cnchi/rebornos.svg ${work_dir}/${arch}/airootfs/usr/share/cnchi/
+cp ${script_path}/Cnchi/os-release ${work_dir}/${arch}/airootfs/usr/share/cnchi/
+# Delete old mirrorlist (Arch) and add new one
+rm ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist
+cp ${script_path}/Cnchi/mirrorlist ${work_dir}/${arch}/airootfs/etc/pacman.d/
+chmod 644 ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist
 echo "DONE"
 echo
 echo "Replacing Antergos mentions with RebornOS"