needs some sudo action

This commit is contained in:
Alex 2024-10-20 21:24:47 -03:00
parent 0892fe1c1a
commit 014819d342
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ install: verify_spir0
@$(SUDO) cp main.conf $(SYSCFG)/.
# make ensure-cockpit.sh executable and run it
chmod +x $(CURDIR)/ensure-cockpit.sh
$(SUDO) chmod +x $(CURDIR)/ensure-cockpit.sh
@if [ -x "$(CURDIR)/ensure-cockpit.sh" ]; then \
$(SUDO) $(CURDIR)/ensure-cockpit.sh; \
else \
@ -135,7 +135,7 @@ install: verify_spir0
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_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile && \
chmod +x ./dkms-install.sh && \
$(SUDO) chmod +x ./dkms-install.sh && \
$(SUDO) apt -y install dkms && \
$(SUDO) ./dkms-install.sh