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