Skip to content

Commit b39abe9

Browse files
committed
Restore flight image package pruning
1 parent 8de787f commit b39abe9

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

image_builder/chroot_scripts/oresat-chroot.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,16 @@ dtb_dir="${dtb_dirs[0]}"
267267
mv /tmp/*.dtb "${dtb_dir}"
268268
chmod 755 "${dtb_dir}"/oresat*
269269

270+
##############################################################################
271+
# Flight images only
272+
273+
if [ "${rfs_hostname}" != "oresat-dev" ]; then
274+
echo "remove internet packages required during build"
275+
apt -y purge git git-man curl wget rsync
276+
277+
echo "disable timesyncd"
278+
systemctl disable systemd-timesyncd.service
279+
fi
280+
270281
##############################################################################
271282
systemctl set-default multi-user.target

0 commit comments

Comments
 (0)