Remove unused and obsolete files

This commit is contained in:
zador-blood-stained 2016-05-29 14:38:41 +03:00
parent e23a2fa2e9
commit 983cbe70b9
8 changed files with 6 additions and 15 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -74,12 +74,6 @@ install_board_specific (){
# initial date for fake-hwclock
date -u '+%Y-%m-%d %H:%M:%S' > $CACHEDIR/sdcard/etc/fake-hwclock.data
# configure MIN / MAX speed for cpufrequtils
echo "ENABLE=true" > $CACHEDIR/sdcard/etc/default/cpufrequtils
echo "MIN_SPEED=$CPUMIN" >> $CACHEDIR/sdcard/etc/default/cpufrequtils
echo "MAX_SPEED=$CPUMAX" >> $CACHEDIR/sdcard/etc/default/cpufrequtils
echo "GOVERNOR=$GOVERNOR" >> $CACHEDIR/sdcard/etc/default/cpufrequtils
# set hostname
echo $HOST > $CACHEDIR/sdcard/etc/hostname

View file

@ -232,8 +232,4 @@ chroot $CACHEDIR/sdcard /bin/bash -c "chage -d 0 root"
# remove hostapd because it's replaced with ours
chroot $CACHEDIR/sdcard /bin/bash -c "apt-get -y -qq remove hostapd >/dev/null 2>&1"
# install sunxi-tools
cp $SRC/lib/bin/sunxi-tools_1.3-1_armhf.deb $CACHEDIR/sdcard/tmp/
# libusb dependency should already be satisfied by usbutils
chroot $CACHEDIR/sdcard /bin/bash -c "dpkg -i /tmp/sunxi-tools_1.3-1_armhf.deb >/dev/null 2>&1"
}

View file

@ -78,9 +78,14 @@ create_board_package (){
echo "if [[ -d /boot/bin && ! -f /boot/script.bin ]]; then ln -sf bin/$BOARD.bin /boot/script.bin >/dev/null 2>&1 || cp /boot/bin/$BOARD.bin /boot/script.bin; fi">> $destination/DEBIAN/postinst
echo "exit 0" >> $destination/DEBIAN/postinst
- # configure MIN / MAX speed for cpufrequtils
- echo "ENABLE=true" > $CACHEDIR/sdcard/etc/default/cpufrequtils
- echo "MIN_SPEED=$CPUMIN" >> $CACHEDIR/sdcard/etc/default/cpufrequtils
- echo "MAX_SPEED=$CPUMAX" >> $CACHEDIR/sdcard/etc/default/cpufrequtils
- echo "GOVERNOR=$GOVERNOR" >> $CACHEDIR/sdcard/etc/default/cpufrequtils
# temper binary for USB temp meter
mkdir -p $destination/usr/local/bin
tar xfz $SRC/lib/bin/temper.tgz -C $destination/usr/local/bin
# add USB OTG port mode switcher
install -m 755 $SRC/lib/scripts/sunxi-musb $destination/usr/local/bin
@ -88,10 +93,6 @@ create_board_package (){
# armbianmonitor (currently only to toggle boot verbosity and log upload)
install -m 755 $SRC/lib/scripts/armbianmonitor/armbianmonitor $destination/usr/local/bin
# module evbug is loaded automagically at boot time but we don't want that
mkdir -p $destination/etc/modprobe.d/
echo "blacklist evbug" > $destination/etc/modprobe.d/ev-debug-blacklist.conf
# updating uInitrd image in update-initramfs trigger
mkdir -p $destination/etc/initramfs/post-update.d/
cat <<-EOF > $destination/etc/initramfs/post-update.d/99-uboot