Signed-off-by: BigfootACA <bigfoot@classfun.cn>
echo > ramdisk
set -e
python3 assets/generate-logo.py "${GITCOMMIT}"
-mkdir -p "${_SIMPLE_INIT}/build" "${_SIMPLE_INIT}/usr/share/locale"
+mkdir -p "${_SIMPLE_INIT}/build" "${_SIMPLE_INIT}/root/usr/share/locale"
for i in "${_SIMPLE_INIT}/po/"*.po
do [ -f "${i}" ]||continue
_name="$(basename "$i" .po)"
_path="${_SIMPLE_INIT}/root/usr/share/locale/${_name}/LC_MESSAGES"
+ mkdir -p "${_path}"
msgfmt -o "${_path}/simple-init.mo" "${i}"
done
bash "${_SIMPLE_INIT}/scripts/gen-rootfs-source.sh" \