Skip to content
Snippets Groups Projects
Verified Commit e68eda1d authored by Josef Schlehofer's avatar Josef Schlehofer Committed by Michal Vasilek
Browse files

turris1x-support: fix boot.scr location

The file boot.scr should be in boot folder and not in root,
because then it is not in the same way as it is done for Turris Omnia
and Turris MOX. I checked it with Turris OS 3.x release also, when
boot.scr was introduced for Turris 1.x routers and there is also in boot
folder.

Fixes the following output:
cmp: /boot/boot.scr: No such file or directory
cp: can't stat '/boot/boot.scr': No such file or directory

Fixes: 03c8a7c7 ("turris1x-btrfs: deploy
boot.scr and link the appropriate dtb name")
parent 8b6ee47b
1 merge request!943turris1x-support: fix boot.scr location
......@@ -3,7 +3,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=turris1x-support
PKG_VERSION:=1.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=CZ.NIC <packaging@turris.cz>
......@@ -36,7 +36,7 @@ define Package/turris1x-support/install
$(INSTALL_DIR) $(1)/boot
$(INSTALL_DATA) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/turris1x.dtb "$(1)"/boot/
ln -sf turris1x.dtb "$(1)"/boot/fdt
mkimage -T script -C none -n boot -d files/boot.txt "$(1)"/boot.scr
mkimage -T script -C none -n boot -d files/boot.txt "$(1)"/boot/boot.scr
endef
$(eval $(call BuildPackage,turris1x-support))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment