From 31a58e6f90576f06a36553c9d71eeb932a4c09a9 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 4 Sep 2021 20:47:11 +0900 Subject: [PATCH] add build job for file system archive --- .gitignore | 1 + README.md | 2 +- bin/build | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5c82d99..7b79e86 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /apkovl/ /cache/ /dist/ +/megabit-armhf.tar.gz diff --git a/README.md b/README.md index eebbf02..899a9ba 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ bin/build ### SD カードに書き込み ```sh -rsync -a dist/ /path/to/sd/ +tar xf megabit-armhf.tar.gz -C /path/to/sd/ ``` ### 前提条件 diff --git a/bin/build b/bin/build index 1b2eef5..5c12b49 100755 --- a/bin/build +++ b/bin/build @@ -15,3 +15,4 @@ cp -a usercfg.txt cache -t dist gzip -cdk overlay.img.gz > dist/overlay.img docker-compose run --rm builder tar czf dist/localhost.apkovl.tar.gz --owner=0 --group=0 -C apkovl . +tar czf megabit-armhf.tar.gz --owner=0 --group=0 -C dist .