Skip to content

Commit 2b11623

Browse files
committed
build: install nuclei ethernet startup script if exist.
Signed-off-by: guibing <guibing@nucleisys.com>
1 parent 28f2524 commit 2b11623

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ linux: $(linux_wrkdir)/.config
285285

286286
$(initramfs): $(buildroot_initramfs_sysroot) $(linux_image)
287287
$(INITRAMFS_PRECMD)
288+
# Copy files required for xec network startup
289+
[ -f $(confdir)/S03net ] && cp -af $(confdir)/S03net $(buildroot_initramfs_sysroot)/etc/init.d/ || true
288290
cd $(linux_wrkdir) && \
289291
$(linux_gen_initramfs) \
290292
-o $@ -u $(shell id -u) -g $(shell id -g) \

0 commit comments

Comments
 (0)