##// END OF EJS Templates
a
Unknown -
r519:239aa1f4ea67
parent child
Show More
@@ -191,7 +191,7 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
191 191 # Set permissions of the systemd-swap sources
192 192 chown -R root:root "${R}/tmp/systemd-swap"
193 193
194 # Install package
194 # Install package - IMPROVE AND MAKE IT POSSIBLE WITHOUT VERSION NR.
195 195 chroot_exec dpkg -i /tmp/systemd-swap/systemd-swap_4.0.1_any.deb
196 196
197 197 # Enable service
@@ -75,7 +75,7 chroot_install_cc() {
75 75 # Install c/c++ build environment inside the chroot
76 76 if [ -z "${COMPILER_PACKAGES}" ] ; then
77 77 COMPILER_PACKAGES=$(chroot_exec apt-get -s install g++ make bc | grep "^Inst " | awk -v ORS=" " '{ print $2 }')
78 # Install COMPILER_PACKAGES in chroot
78 # Install COMPILER_PACKAGES in chroot - NEVER do "${COMPILER_PACKAGES}" -> breaks uboot
79 79 chroot_exec apt-get -q -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES}
80 80 fi
81 81 }
@@ -83,7 +83,7 chroot_install_cc() {
83 83 chroot_remove_cc() {
84 84 # Remove c/c++ build environment from the chroot
85 85 if [ -n "${COMPILER_PACKAGES}" ] ; then
86 chroot_exec apt-get -qq -y --auto-remove purge "${COMPILER_PACKAGES}"
86 chroot_exec apt-get -qq -y --auto-remove purge ${COMPILER_PACKAGES}
87 87 COMPILER_PACKAGES=""
88 88 fi
89 89 }
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant