Support armv5tel based pogoplug devices
This commit is contained in:
10
lib.sh.in
10
lib.sh.in
@@ -234,6 +234,7 @@ set_target_arch_from_platform() {
|
||||
beaglebone*) XBPS_TARGET_ARCH="armv7l";;
|
||||
cubieboard2*|cubietruck*) XBPS_TARGET_ARCH="armv7l";;
|
||||
dockstar*) XBPS_TARGET_ARCH="armv5tel";;
|
||||
pogoplugv4*) XBPS_TARGET_ARCH="armv5tel" ;;
|
||||
odroid-u2*) XBPS_TARGET_ARCH="armv7l";;
|
||||
odroid-c2*) XBPS_TARGET_ARCH="aarch64";;
|
||||
rpi3*) XBPS_TARGET_ARCH="aarch64";;
|
||||
@@ -252,6 +253,15 @@ set_target_arch_from_platform() {
|
||||
fi
|
||||
}
|
||||
|
||||
set_dracut_args_from_platform() {
|
||||
# In rare cases it is necessary to set platform specific dracut
|
||||
# args. This is mostly the case on ARM platforms.
|
||||
case "$PLATFORM" in
|
||||
pogoplugv4*) dracut_args="-o 'btrfs drm i18n resume terminfo'" ;;
|
||||
*) ;;
|
||||
esac
|
||||
}
|
||||
|
||||
set_cachedir() {
|
||||
# The package artifacts are cacheable, but they need to be isolated
|
||||
# from the host cache.
|
||||
|
||||
Reference in New Issue
Block a user