From 3c0cdf1d890a6aad92cc6364fc05c8900ec14600 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 21 Jan 2016 23:09:53 +0100 Subject: [PATCH] Proper packages co-install for BSP --- makeboarddeb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makeboarddeb.sh b/makeboarddeb.sh index 99db65ca71..eb1bbf188b 100644 --- a/makeboarddeb.sh +++ b/makeboarddeb.sh @@ -42,6 +42,7 @@ create_board_package (){ echo "Installed-Size: 1" >> $controlfile echo "Section: kernel" >> $controlfile echo "Priority: optional" >> $controlfile + echo "Recommends: fake-hwclock" >> $controlfile echo "Description: Root file system tweaks for $BOARD" >> $controlfile # set up post install script @@ -63,8 +64,7 @@ create_board_package (){ echo "[[ -f /root/.nand1-allwinner.tgz ]] && rm /root/.nand1-allwinner.tgz" >> $destination/DEBIAN/postinst echo "[[ -f /root/nand-sata-install ]] && rm /root/nand-sata-install" >> $destination/DEBIAN/postinst echo "ln -sf /var/run/motd /etc/motd" >> $destination/DEBIAN/postinst - echo "[[ -f /etc/bash.bashrc.custom ]] && rm /etc/bash.bashrc.custom" >> $destination/DEBIAN/postinst - echo "apt-get install -qq -y fake-hwclock" >> $destination/DEBIAN/postinst + echo "[[ -f /etc/bash.bashrc.custom ]] && rm /etc/bash.bashrc.custom" >> $destination/DEBIAN/postinst echo "exit 0" >> $destination/DEBIAN/postinst # temper binary for USB temp meter