2 Commits

2 changed files with 7 additions and 6 deletions
Unified View
  1. +5
    -4
      target/share/docker/build.sh
  2. +2
    -2
      target/toolchain/pkgsel.d/opensde-core.all

+ 5
- 4
target/share/docker/build.sh

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: target/share/docker/build.sh # Filename: target/share/docker/build.sh
# Copyright (C) 2016 The OpenSDE Project
# Copyright (C) 2016 - 2020 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -12,7 +12,7 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
#Description: Build an archived rootfs for docker images
#Description: Build a compressed rootfs for docker images
set -e set -e
. $base/target/share/functions.in . $base/target/share/functions.in
@ -25,11 +25,12 @@ mkdir -p $dockerdir
mkdir -p $imagelocation mkdir -p $imagelocation
cd $build_toolchain/pkgs cd $build_toolchain/pkgs
echo "Populating the root file-system (this may take some time) ..."
for pack in *.bz2; do for pack in *.bz2; do
tar -xjvf $pack -C $imagelocation
tar -xjf $pack -C $imagelocation
done done
echo "Creating root file-system (this may take some time) ..." echo "Creating root file-system (this may take some time) ..."
cd $dockerdir cd $dockerdir
time tar -cjvf rootfs.tar.bz2 -C $imagelocation .
time tar -cjf rootfs.tar.bz2 -C $imagelocation .
echo_status "Done!" echo_status "Done!"

+ 2
- 2
target/toolchain/pkgsel.d/opensde-core.all

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: target/toolchain/pkgsel.d/opensde-core.all # Filename: target/toolchain/pkgsel.d/opensde-core.all
# Copyright (C) 2016 The OpenSDE Project
# Copyright (C) 2016 - 2020 The OpenSDE Project
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -30,7 +30,7 @@ X grep
X sed X sed
X gawk X gawk
X mktemp X mktemp
X su-exec
X sudo
# not that basic, but needed by our framework to enter stage 2 # not that basic, but needed by our framework to enter stage 2
X file X file

Loading…
Cancel
Save