Skip to content
This repository was archived by the owner on Feb 27, 2025. It is now read-only.

Commit 3b13c2e

Browse files
Fix target install-remote
Said target now ensures that the files are properly copied to the remote host by mounting the corresponding partition as read-only after the copy.
1 parent 1b095a4 commit 3b13c2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

OS/buildroot/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ install: $(UIMAGE)
5353
install-remote: install
5454
ssh $(HOST) "/bin/mount -o rw,remount \$$(readlink /media/system)"
5555
scp uramdisk.image.gz $(HOST):/boot
56+
ssh $(HOST) "/bin/mount -o ro,remount \$$(readlink /media/system)"
5657

5758
clean:
5859
-$(MAKE) -C $(B_DIR) clean

0 commit comments

Comments
 (0)