diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-14 16:16:47 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-14 16:16:47 +0000 |
commit | 0d50fc299e0072cd56ac7804b54a6c137c501855 (patch) | |
tree | 3803e88fee4fe934802461d6185b7574f24fce67 | |
parent | f0132ba6569ea66ae28c09dfa8b80238d45958cd (diff) | |
parent | ef42af3aeca307d216a7a42eadf3ef05899ba49a (diff) | |
download | definitions-0d50fc299e0072cd56ac7804b54a6c137c501855.tar.gz |
Merge branch 'baserock/richardmaw/S10692-sdk-sysroot'
Reviewed-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
-rw-r--r-- | sdk.morph | 6 | ||||
-rwxr-xr-x | sdk.write | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -10,3 +10,9 @@ systems: location: armv7lhf-cross-toolchain-system-x86_32-generic.sh PREFIX: /usr TARGET: armv7lhf-baserock-linux-gnueabi + subsystems: + - morph: devel-system-armv7lhf-highbank + deploy: + sysroot: + type: sysroot + location: usr/armv7lhf-baserock-linux-gnueabi/sys-root @@ -178,7 +178,7 @@ extract_rootfs(){ local selfextractor="$1" local target="$2" local script_end="$(($(\ - grep -En -m1 -e '^#+ END OF HEADER SCRIPT #+$' "$selfextractor" | + grep -aEn -m1 -e '^#+ END OF HEADER SCRIPT #+$' "$selfextractor" | cut -d: -f1) + 1 ))" mkdir -p "$target" tail -n +"$script_end" "$selfextractor" | tar -xj -C "$target" . |