From 37e3854c2e7ecbce537a75ffe2f21ff8a96b88b8 Mon Sep 17 00:00:00 2001 From: misile00 <93371114+misile00@users.noreply.github.com> Date: Fri, 5 Apr 2024 02:48:43 +0300 Subject: [PATCH] Update build scripts --- build_desktop.sh | 4 ++-- build_server.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_desktop.sh b/build_desktop.sh index eeb886b..3d1fdbc 100755 --- a/build_desktop.sh +++ b/build_desktop.sh @@ -151,7 +151,7 @@ fi # Configure system echo -e "allowed_users=anybody\nneeds_root_rights=yes" > /etc/X11/Xwrapper.config cp usr/local/resize-fs.sh misilix/usr/local/ -cp etc/ misilix/etc/ +cp -r etc/ misilix/etc/ chmod a+x misilix/etc/profile.d/pacman-init.sh misilix/usr/local/resize-fs.sh chroot misilix /usr/bin/systemctl enable pacman-init.service resize-fs.service NetworkManager.service sshd.service avahi-daemon.service sed -i s/#NTP=/NTP=0.pool.ntp.org/g misilix/etc/systemd/timesyncd.conf @@ -195,4 +195,4 @@ sync umount /mnt losetup -d /dev/loop0 xz -T0 -9 misilix-desktop.img -# Done +# Done \ No newline at end of file diff --git a/build_server.sh b/build_server.sh index 45e6c03..3352a39 100755 --- a/build_server.sh +++ b/build_server.sh @@ -150,7 +150,7 @@ fi # Configure system cp usr/local/resize-fs.sh misilix/usr/local/ -cp etc/ misilix/etc/ +cp -r etc/ misilix/etc/ chmod a+x misilix/etc/profile.d/pacman-init.sh misilix/usr/local/resize-fs.sh chroot misilix /usr/bin/systemctl enable pacman-init.service resize-fs.service NetworkManager.service sshd.service avahi-daemon.service sed -i s/#NTP=/NTP=0.pool.ntp.org/g misilix/etc/systemd/timesyncd.conf