Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #88 from tiiuae/internal_build_4_3
Browse files Browse the repository at this point in the history
Internal build 4.3
  • Loading branch information
maseabunikie authored Sep 30, 2021
2 parents 26d3a3c + 74ca740 commit 6379935
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@
[submodule "wpa"]
path = wpa
url = https://github.com/tiiuae/wpa.git
[submodule "fogsw_kernel_config"]
path = fogsw_kernel_config
url = https://github.com/tiiuae/fogsw_kernel_config.git
2 changes: 1 addition & 1 deletion fogsw_configs
1 change: 1 addition & 0 deletions fogsw_kernel_config
Submodule fogsw_kernel_config added at 271046
18 changes: 18 additions & 0 deletions packaging/fogsw_kernel_config/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

echo "Creating deb package linux-image..."
build_dir=$(mktemp -d)

pushd ${build_dir} > /dev/null
apt-get source linux-hwe-5.11-source-5.11.0
popd > /dev/null
cp -rf ../../fogsw_kernel_config/* ${build_dir}/
# The second parameter is ignored by the build script.
../../fogsw_kernel_config/packaging/build.sh $(realpath ${build_dir}) $(realpath ${build_dir}) "fog"

# Third parameter is the target directory where to copy the debian package.
../../fogsw_kernel_config/packaging/package.sh $(realpath ${build_dir}) "fog" "$(realpath $(dirname ${0}))/../"
rm -rf ${build_dir}
echo "Done"

exit 0
5 changes: 5 additions & 0 deletions packaging/package_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ pushd systemd
popd
mv ./fog-sw-systemd*.deb ${SCRIPT_PATH}/${DEBS_OUTPUT_DIR}/

pushd fogsw_kernel_config
./package.sh
popd
mv ./linux-image*.deb ${SCRIPT_PATH}/${DEBS_OUTPUT_DIR}/

# TODO: fix the package_wpa.sh under wpa repo in order to work in local builds.
# Local build does not have build directory so package_wpa.sh fails.
#pushd wpasupplicant
Expand Down
2 changes: 1 addition & 1 deletion ros2_ws/src/communication_link
2 changes: 1 addition & 1 deletion ros2_ws/src/mocap_pose

0 comments on commit 6379935

Please sign in to comment.