Attached to Project: CRUX-ARM
Opened by Jose V Beneyto - 2013-11-02
Last edited by Jose V Beneyto - 2013-11-06
Opened by Jose V Beneyto - 2013-11-02
Last edited by Jose V Beneyto - 2013-11-06
FS#63 - devtools: add <device>-arm support to checkOverlayUpdates.sh script
The script is useful to obtain ports from core-arm, opt-arm, xorg-arm overlays which are updated in upstream core, opt and xorg.
It would be fine to check ports for 'per device' overlays since gcc, pkgutils, ports and prt-get are ports that we overlayed for each device. In this case, the script should check each port against the upstream repo where the port is located.
For example,
case $repo in
efikamx|cubieboard|cubieboard2|raspberrypi)
# foreach port in repo
for port in $PORTS; do
# get upstream repo where the port is located
upstream_repo=""
for up_repo in core opt xorg; do
upstream_repo="$(basename $(dirname $(prt-get --no-std-config --config-prepend="prtdir /usr/ports/$up_repo" path $port 2>/dev/null) 2>/dev/null) 2>/dev/null)"
done
[ "$upstream_repo" == "" ] && exit
# continue
...