Permalink
Browse files

chroot: add buster here

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information...
RobertCNelson committed Dec 1, 2017
1 parent 11d9a1c commit 34dba6fdc0179023fb1b84d64819f90645d31870
Showing with 4 additions and 1 deletion.
  1. +4 −1 scripts/chroot.sh
View
@@ -450,7 +450,7 @@ if [ "x${deb_arch}" = "xarmhf" ] ; then
case "${deb_distribution}" in
debian)
case "${deb_codename}" in
jessie|stretch)
jessie|stretch|buster)
#while bb-customizations installes "generic-board-startup.service" other boards/configs could use this default.
sudo cp "${OIB_DIR}/target/init_scripts/systemd-generic-board-startup.service" "${tempdir}/lib/systemd/system/generic-board-startup.service"
sudo chown root:root "${tempdir}/lib/systemd/system/generic-board-startup.service"
@@ -561,6 +561,9 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__
if [ "x\${deb_codename}" = "xstretch" ] ; then
apt_options=""
fi
if [ "x\${deb_codename}" = "xbuster" ] ; then
apt_options=""
fi
if [ "x\${deb_codename}" = "xxenial" ] ; then
apt_options="--allow-downgrades --allow-remove-essential --allow-change-held-packages"
fi

0 comments on commit 34dba6f

Please sign in to comment.