It was a chmod thing of course

This commit is contained in:
Alex 2024-10-20 18:02:40 -03:00
parent cbd4ea4ae3
commit e9e6e4a108
1 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,8 @@ install: verify_spir0
@$(SUDO) mkdir -p $(SYSCFG) @$(SUDO) mkdir -p $(SYSCFG)
@$(SUDO) cp main.conf $(SYSCFG)/. @$(SUDO) cp main.conf $(SYSCFG)/.
# install cockpit # make ensure-cockpit.sh executable and run it
@chmod +x $(CURDIR)/ensure-cockpit.sh
@if [ -x "$(CURDIR)/ensure-cockpit.sh" ]; then \ @if [ -x "$(CURDIR)/ensure-cockpit.sh" ]; then \
$(SUDO) $(CURDIR)/ensure-cockpit.sh; \ $(SUDO) $(CURDIR)/ensure-cockpit.sh; \
else \ else \
@ -134,6 +135,7 @@ install: verify_spir0
cd ~/tmp/rtl88x2eu && git submodule update --init --recursive && \ cd ~/tmp/rtl88x2eu && git submodule update --init --recursive && \
$(SUDO) sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile && \ $(SUDO) sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile && \
$(SUDO) sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile && \ $(SUDO) sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile && \
@chmod +x ./dkms-install.sh && \
$(SUDO) apt -y install dkms && \ $(SUDO) apt -y install dkms && \
$(SUDO) ./dkms-install.sh $(SUDO) ./dkms-install.sh