diff --git a/build.sh b/build.sh index fc7d4f78..46266bb0 100755 --- a/build.sh +++ b/build.sh @@ -18,5 +18,6 @@ cleanup() { } trap cleanup EXIT docker cp ${DIST_CONTAINER}:/source/dist/artifacts dist +docker cp ${DIST_CONTAINER}:/source/bin ./ ls -l dist/artifacts diff --git a/scripts/package b/scripts/package index 6fabf2c0..e5aef366 100755 --- a/scripts/package +++ b/scripts/package @@ -5,8 +5,6 @@ cd $(dirname $0)/.. source scripts/build-common -cp bin/rancheros ${DIST}/artifacts/ - cp bin/rancheros ${BUILD}/initrd/init cp ./os-config.yml ${BUILD}/initrd/ diff --git a/scripts/run b/scripts/run index f36ed448..6a9afa46 100755 --- a/scripts/run +++ b/scripts/run @@ -58,7 +58,7 @@ fi ln -sf ${INITRD_TMP} ${INITRD_CURRENT} -cp dist/artifacts/rancheros ${INITRD_TMP}/init +cp bin/rancheros ${INITRD_TMP}/init cp -f os-config.yml ${INITRD_TMP}/ cd ${INITRD_TMP}