Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modules/admin-toolkit/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fi
# Begin general section
if [ "$ADMIN_TOOLKIT_UPDATE_PACKAGES" == "yes" ]
then
apt-get update --allow-relreaseinfo-change && apt-get upgrade -y
apt-get update --allow-releaseinfo-change && apt-get upgrade -y
fi

# Install packages if listed
Expand Down
2 changes: 1 addition & 1 deletion src/modules/auto-hotspot/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e

source /common.sh

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get -y purge dns-root-data
apt-get -y install iw

Expand Down
2 changes: 1 addition & 1 deletion src/modules/auto-mount-removable/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -e

source /common.sh

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y usbmount

unpack /filesystem/root /
2 changes: 1 addition & 1 deletion src/modules/base/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ "${BASE_DISTRO}" == "ubuntu" ]; then
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
echo "nameserver 1.1.1.1" >> /etc/resolv.conf

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y net-tools wireless-tools dhcpcd5
if [ $( is_in_apt policykit-1 ) -eq 1 ]; then
apt-get -y install policykit-1
Expand Down
2 changes: 1 addition & 1 deletion src/modules/disable-services/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -ex
source /common.sh
install_cleanup_trap

apt-get update --allow-relreaseinfo-change --allow-releaseinfo-change
apt-get update --allow-releaseinfo-change --allow-releaseinfo-change
if [ $( is_in_apt policykit-1 ) -eq 1 ]; then
sudo apt-get -y install policykit-1
fi
Expand Down
2 changes: 1 addition & 1 deletion src/modules/docker/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ elif [ "${BASE_DISTRO}" == "ubuntu" ]; then
echo "Error, not implemented Ubuntu 32bit"
exit 1
fi
apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y docker-ce
fi

Expand Down
2 changes: 1 addition & 1 deletion src/modules/ffmpeg/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -ex
source /common.sh
install_cleanup_trap

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y checkinstall git

pushd /usr/src
Expand Down
4 changes: 2 additions & 2 deletions src/modules/gui/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ unpack /filesystem/root_init /
echo exit 101 > /usr/sbin/policy-rc.d
chmod +x /usr/sbin/policy-rc.d

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y --force-yes matchbox-window-manager xorg lightdm
if [ "$GUI_INCLUDE_ACCELERATION" == "yes" ]
then
apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get -y --force-yes install xcompmgr libgl1-mesa-dri mesa-utils compton libconfig9

# Hack to pass non-interactive install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install_cleanup_trap

# unpack /filesystem/root /

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
# workwround to intall linux-modules-extra-raspi
sudo umount /boot

Expand Down
2 changes: 1 addition & 1 deletion src/modules/kernel/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ install_cleanup_trap


pushd /home/pi
sudo apt-get update --allow-relreaseinfo-change
sudo apt-get update --allow-releaseinfo-change
sudo apt-get -y install make gcc git bc p7zip-full bison flex libssl-dev

# git clone --depth=1 https://github.com/raspberrypi/linux
Expand Down
2 changes: 1 addition & 1 deletion src/modules/mysql/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e
source /common.sh
install_cleanup_trap

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y mariadb-server expect

mysqld_safe &
Expand Down
2 changes: 1 addition & 1 deletion src/modules/network/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ ! -f "/etc/rc.local" ];then
fi

# prevent ntp updates from failing due to some Rpi3 weirdness, see also "Fix SSH" further below
apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get install -y iptables
sed -i 's@exit 0@@' /etc/rc.local
echo '/sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00' >> /etc/rc.local
Expand Down
2 changes: 1 addition & 1 deletion src/modules/usage-statistics/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -e

source /common.sh

apt-get update --allow-relreaseinfo-change
apt-get update --allow-releaseinfo-change
apt-get -y install curl

unpack /filesystem/root /
Expand Down