From 06d92ee94ba7fa805b83491f7e408ad5b1b46ad4 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Tue, 22 Oct 2019 18:38:57 -0700 Subject: Add command line arguments for uboot-script-gen Add some simple command line arguments and some dependency checking that makes running this outside of a container much easier. The environment variable LOAD_CMD has been removed and all the config options are done via command line arguemtnt for consistency. Signed-off-by: Brian Woods Signed-off-by: Stefano Stabellini Reviewed-by: Stefano Stabellini --- scripts/imagebuilder_sd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/imagebuilder_sd') diff --git a/scripts/imagebuilder_sd b/scripts/imagebuilder_sd index fc00716..460746e 100644 --- a/scripts/imagebuilder_sd +++ b/scripts/imagebuilder_sd @@ -5,6 +5,5 @@ mkdir /tmp/output cp config /tmp/output cp -r /home/builder/output/* /tmp/output cd /tmp/output -export LOAD_CMD="load scsi 0:1" -bash /uboot-script-gen ./config +bash /uboot-script-gen -c ./config -d ./ -t sd bash /disk_image -- cgit v1.2.3