Compare commits

...
2 Commits
Author SHA1 Message Date
Lukas Stancik 8acb73f65a Fix copynig of preshared key files for iwd daemon 2025-07-07 17:48:36 +00:00
Lukas Stancik 19c96a1aaa Cosmetics in Makefile
I can no longer format SD card in Gnome with lowercase name (dont know why) hence the change to uppercase. Silenced error produced by clean target when trying to remove non-existent Docker image
2025-07-07 17:47:57 +00:00
2 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ build: repository
card: clean build
@echo "### Copying to sdcard..."
@rsync -chavz --delete ${DIST_DIR}/ /media/$(shell whoami)/entropi
@rsync -chavz --delete ${DIST_DIR}/ /media/$(shell whoami)/ENTROPI
@echo "### Copying to sdcard done"
-@make clean
@@ -62,7 +62,7 @@ clean:
-@rm -rf ${DIST_DIR}
-@rm -rf tmp*
-@rm -f ${CACHE_DIR}/aport/${RELEASE_VERSION}/main/${ALPINE_ARCH}/APKINDEX.tar.gz
-@docker rmi ${BUILDER_DOCKER_IMAGE} 1> /dev/null
-@docker rmi ${BUILDER_DOCKER_IMAGE} >/dev/null 2>&1
@echo "### Cleaning done"
mrproper: clean
+4 -3
View File
@@ -162,8 +162,10 @@ __setup_wireless_client() {
mkdir -p /var/lib/iwd/ap/
copyfile root:root 0644 ${SDCARD_MEDIA}/main.conf /etc/iwd/main.conf
copyfile root:root 0644 ${SDCARD_MEDIA}/NUMERI_AC11.psk /var/lib/iwd/NUMERI_AC11.psk
copyfile root:root 0644 ${SDCARD_MEDIA}/robusta_nomap.psk /var/lib/iwd/robusta_nomap.psk
for file in $(find ${SDCARD_MEDIA} -type f -name *.psk -exec basename {} \;); do
copyfile root:root 0644 ${SDCARD_MEDIA}/${file} /var/lib/iwd/${file}
done
copyfile root:root 0644 ${SDCARD_MEDIA}/hotspot.conf /var/lib/iwd/ap/<%= $ssid %>.ap
copyfile root:root 0700 ${SDCARD_MEDIA}/watchdog.sh /etc/wireguard/watchdog.sh
@@ -198,7 +200,6 @@ mkdir -p /etc/wireguard
copyfile root:root 0600 ${SDCARD_MEDIA}/wg0.conf /etc/wireguard/wg0.conf
ln -s /etc/init.d/wg-quick /etc/init.d/wg-quick.wg0
# rc-service wg-quick.wg0 start
__setup_time