needs some sudo action
This commit is contained in:
parent
0892fe1c1a
commit
014819d342
4
Makefile
4
Makefile
|
@ -112,7 +112,7 @@ install: verify_spir0
|
||||||
@$(SUDO) cp main.conf $(SYSCFG)/.
|
@$(SUDO) cp main.conf $(SYSCFG)/.
|
||||||
|
|
||||||
# make ensure-cockpit.sh executable and run it
|
# 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 \
|
@if [ -x "$(CURDIR)/ensure-cockpit.sh" ]; then \
|
||||||
$(SUDO) $(CURDIR)/ensure-cockpit.sh; \
|
$(SUDO) $(CURDIR)/ensure-cockpit.sh; \
|
||||||
else \
|
else \
|
||||||
|
@ -135,7 +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) chmod +x ./dkms-install.sh && \
|
||||||
$(SUDO) apt -y install dkms && \
|
$(SUDO) apt -y install dkms && \
|
||||||
$(SUDO) ./dkms-install.sh
|
$(SUDO) ./dkms-install.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue