mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
add lrzsz
This commit is contained in:
parent
0bab5f4a9c
commit
bf186e3699
@ -75,6 +75,7 @@ BR2_PACKAGE_NCURSES_WCHAR=y
|
|||||||
BR2_PACKAGE_PCRE2=y
|
BR2_PACKAGE_PCRE2=y
|
||||||
BR2_PACKAGE_DHCPCD=y
|
BR2_PACKAGE_DHCPCD=y
|
||||||
BR2_PACKAGE_ETHTOOL=y
|
BR2_PACKAGE_ETHTOOL=y
|
||||||
|
BR2_PACKAGE_LRZSZ=y
|
||||||
BR2_PACKAGE_OPENSSH=y
|
BR2_PACKAGE_OPENSSH=y
|
||||||
# BR2_PACKAGE_OPENSSH_CLIENT is not set
|
# BR2_PACKAGE_OPENSSH_CLIENT is not set
|
||||||
BR2_PACKAGE_SAMBA4=y
|
BR2_PACKAGE_SAMBA4=y
|
||||||
|
23
img-gen.sh
23
img-gen.sh
@ -37,26 +37,3 @@ echo "Version: ${VERSION}"
|
|||||||
echo "Building... Drink a coffee and wait!"
|
echo "Building... Drink a coffee and wait!"
|
||||||
make BR2_EXTERNAL=../external -j`nproc`
|
make BR2_EXTERNAL=../external -j`nproc`
|
||||||
cd -
|
cd -
|
||||||
qemu-img convert -O vmdk arpl.img arpl-dyn.vmdk
|
|
||||||
qemu-img convert -O vmdk -o adapter_type=lsilogic arpl.img -o subformat=monolithicFlat arpl.vmdk
|
|
||||||
[ -x test.sh ] && ./test.sh
|
|
||||||
rm -f *.zip
|
|
||||||
zip -9 "arpl-i18n-${VERSION}.img.zip" arpl.img
|
|
||||||
zip -9 "arpl-i18n-${VERSION}.vmdk-dyn.zip" arpl-dyn.vmdk
|
|
||||||
zip -9 "arpl-i18n-${VERSION}.vmdk-flat.zip" arpl.vmdk arpl-flat.vmdk
|
|
||||||
sha256sum update-list.yml > sha256sum
|
|
||||||
zip -9j update.zip update-list.yml
|
|
||||||
while read F; do
|
|
||||||
if [ -d "${F}" ]; then
|
|
||||||
FTGZ="`basename "${F}"`.tgz"
|
|
||||||
tar czf "${FTGZ}" -C "${F}" .
|
|
||||||
sha256sum "${FTGZ}" >> sha256sum
|
|
||||||
zip -9j update.zip "${FTGZ}"
|
|
||||||
rm "${FTGZ}"
|
|
||||||
else
|
|
||||||
(cd `dirname ${F}` && sha256sum `basename ${F}`) >> sha256sum
|
|
||||||
zip -9j update.zip "${F}"
|
|
||||||
fi
|
|
||||||
done < <(yq '.replace | explode(.) | to_entries | map([.key])[] | .[]' update-list.yml)
|
|
||||||
zip -9j update.zip sha256sum
|
|
||||||
rm -f sha256sum
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user