Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
19 lines
450 B
Bash
19 lines
450 B
Bash
#!/bin/sh
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
set -eu
|
|
|
|
# Create a temporary man_db.conf with paths to the rootfs, as mandb needs absolute paths
|
|
CONFIG=$(mktemp --tmpdir update-mandb.XXXXX)
|
|
sed "s:\(\s\)/:\1$D/:g" $D${sysconfdir}/man_db.conf > $CONFIG
|
|
|
|
mkdir -p $D${localstatedir}/cache/man/
|
|
|
|
PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${bindir}/mandb --config-file $CONFIG --create
|
|
|
|
rm -f $CONFIG
|
|
|
|
chown -R man:man $D${localstatedir}/cache/man/
|