version 1.8, 2021/10/16 19:31:13 |
version 1.9, 2021/10/16 19:42:43 |
|
|
# TODO: Or, maybe we save the firmware someplace and make pkg_add reinstall |
# TODO: Or, maybe we save the firmware someplace and make pkg_add reinstall |
echo "Installing $_f" |
echo "Installing $_f" |
tar -zxphf "$_f" -C /etc "firmware/*" |
tar -zxphf "$_f" -C /etc "firmware/*" |
mkdir -p ${PKGDIR}/${firmware%.tgz}/ |
mkdir -p ${PKGDIR}/${_f%.tgz}/ |
tar -zxphf "$_f" -C "${PKGDIR}/${firmware%.tgz}" "+*" |
tar -zxphf "$_f" -C "${PKGDIR}/${_f%.tgz}" "+*" |
ed -s "${PKGDIR}/${firmware%.tgz}/+CONTENTS" <<EOL |
ed -s "${PKGDIR}/${_f%.tgz}/+CONTENTS" <<EOL |
/^@comment pkgpath/ -1a |
/^@comment pkgpath/ -1a |
@option manual-installation |
@option manual-installation |
@option firmware |
@option firmware |