diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 4f1b03503e..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -before_install: - - sudo apt-get -qq update - - sudo apt-get install -y bc - -script: ./build.sh raspberrypi all > /dev/null diff --git a/board/common/overlay/etc/issue b/board/common/overlay/etc/issue index b9d3c46ab7..90990df230 100644 --- a/board/common/overlay/etc/issue +++ b/board/common/overlay/etc/issue @@ -1 +1,5 @@ Welcome to \n! + +If you want to see a friendly user interface, +point your web browser to the IP address of this board. + diff --git a/board/common/overlay/usr/share/post-upgrade/20170827.sh b/board/common/overlay/usr/share/post-upgrade/20170827.sh old mode 100644 new mode 100755 index fc28fd2c2a..df7cf827be --- a/board/common/overlay/usr/share/post-upgrade/20170827.sh +++ b/board/common/overlay/usr/share/post-upgrade/20170827.sh @@ -1,5 +1,8 @@ #!/bin/bash +# create the persisted /var/lib directory (/data/varlib) +mkdir -p /data/varlib + # add password_hook motioneye setting grep password_hook /data/etc/motioneye.conf &>/dev/null || echo -e 'password_hook /usr/libexec/meyepasswd' >> /data/etc/motioneye.conf diff --git a/board/raspberrypi/overlay/etc/modules b/board/raspberrypi/overlay/etc/modules index 90ed5031ad..0353ca9abc 100644 --- a/board/raspberrypi/overlay/etc/modules +++ b/board/raspberrypi/overlay/etc/modules @@ -1,4 +1,4 @@ -bcm2835-v4l2 max_video_width=2592 max_video_height=1944 +bcm2835-v4l2 max_video_width=1920 max_video_height=1200 bcm2835-wdt i2c-bcm2708 i2c-dev diff --git a/board/raspberrypi2/overlay/etc/modules b/board/raspberrypi2/overlay/etc/modules index 90ed5031ad..0353ca9abc 100644 --- a/board/raspberrypi2/overlay/etc/modules +++ b/board/raspberrypi2/overlay/etc/modules @@ -1,4 +1,4 @@ -bcm2835-v4l2 max_video_width=2592 max_video_height=1944 +bcm2835-v4l2 max_video_width=1920 max_video_height=1200 bcm2835-wdt i2c-bcm2708 i2c-dev diff --git a/board/raspberrypi3/overlay/etc/modules b/board/raspberrypi3/overlay/etc/modules index 90ed5031ad..0353ca9abc 100644 --- a/board/raspberrypi3/overlay/etc/modules +++ b/board/raspberrypi3/overlay/etc/modules @@ -1,4 +1,4 @@ -bcm2835-v4l2 max_video_width=2592 max_video_height=1944 +bcm2835-v4l2 max_video_width=1920 max_video_height=1200 bcm2835-wdt i2c-bcm2708 i2c-dev diff --git a/build.sh b/build.sh index dac91efc6d..039a06f983 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ cd $(dirname $0) basedir=$(pwd) osname=$(source $basedir/board/common/overlay/etc/version && echo $os_short_name) osversion=$(source $basedir/board/common/overlay/etc/version && echo $os_version) -gzip=$(which pigz || which gzip) +gzip=$(which pigz 2> /dev/null || which gzip 2> /dev/null) if [ "$board" == "all" ]; then boards=$(ls $basedir/configs/*_defconfig | grep -v initramfs | grep -oE '\w+_defconfig$' | cut -d '_' -f 1) diff --git a/writeimage.sh b/writeimage.sh index 99895df526..2bc1793ca8 100755 --- a/writeimage.sh +++ b/writeimage.sh @@ -76,7 +76,7 @@ if ! [ -f $DISK_IMG ]; then exit 1 fi -gunzip=$(which unpigz || which gunzip) +gunzip=$(which unpigz 2> /dev/null || which gunzip 2> /dev/null) if [[ $DISK_IMG == *.gz ]]; then msg "decompressing the gzipped image"