diff options
author | Christophe Priouzeau <christophe.priouzeau@st.com> | 2019-08-14 11:28:08 +0200 |
---|---|---|
committer | Christophe Priouzeau <christophe.priouzeau@linaro.org> | 2019-08-26 15:28:15 +0200 |
commit | af94f03ab3a647c26285f9679f4a5eddc132388d (patch) | |
tree | 639aa88912a12e29de391f7e90dde7fd62408297 /scripts | |
parent | 3cae28c944dd296ed668cc64b9f4d402ba3c80e4 (diff) |
LEDGE: add script to extract rootfs as ext4
Change-Id: If9a30e9dc008199e7cc1747df56187281e990006
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/LEDGE/90-extractrootfs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/LEDGE/90-extractrootfs b/scripts/LEDGE/90-extractrootfs new file mode 100755 index 0000000..752d55d --- /dev/null +++ b/scripts/LEDGE/90-extractrootfs @@ -0,0 +1,9 @@ +#!/bin/bash +set -x +mkdir -p "${FAI}/out/" + +cd $target/ + +sudo tar cfp ${FAI}/out/rootfs-ledge-debian.tar --one-file-system --xattrs . + +cd - |