Chromium for Stretch has different location and name for default settings. Fixing and fixing bug in BSP when overwriting default Chromim packages

This commit is contained in:
Igor Pecovnik 2017-12-15 19:18:51 +01:00
parent 6415ebf1e5
commit 7094273ca8
2 changed files with 3 additions and 4 deletions

View File

@ -22,9 +22,8 @@ install_desktop ()
fi
# install optimized chromium configuration
if [[ -d $SDCARD/usr/lib/chromium-browser/ ]]; then
cp $SRC/packages/blobs/desktop/chromium.conf $SDCARD/etc/chromium-browser/default
fi
[[ -d $SDCARD/etc/chromium-browser ]] && cp $SRC/packages/blobs/desktop/chromium.conf $SDCARD/etc/chromium-browser/default
[[ -d $SDCARD/etc/chromium.d ]] && cp $SRC/packages/blobs/desktop/chromium.conf $SDCARD/etc/chromium.d/chromium.conf
# install default desktop settings
cp -R $SRC/packages/blobs/desktop/skel/. $SDCARD/etc/skel

View File

@ -36,7 +36,7 @@ create_board_package()
Provides: armbian-bsp
Conflicts: armbian-bsp
Suggests: armbian-config
Replaces: base-files, mpv, lightdm-gtk-greeter, armbian-tools-$RELEASE
Replaces: base-files, mpv, lightdm-gtk-greeter, chromium-browser, chromium, armbian-tools-$RELEASE
Recommends: bsdutils, parted, python3-apt, util-linux, toilet
Description: Armbian tweaks for $RELEASE on $BOARD ($BRANCH branch)
EOF