Update kernel config, fix plist formatting

This commit is contained in:
Nathan Fisher 2022-11-23 00:29:32 -05:00
parent d37fe8623b
commit 5f2a372e1f
2 changed files with 4 additions and 4 deletions

View File

@ -31,10 +31,10 @@ ${pkgdbdir}/plist:
find usr/src -name '.built' -exec rm -rf {} + || true
find usr/src -name '.installed' -exec rm -rf {} + || true
find ${dirs} -type f | while read f ; \
do echo file\|$$(stat -c %n\|%a\|%u:%g $${f})\|$$(file -b -e elf $${f}) ; \
do echo file\|$$(stat -c %n\|%a\|root:root $${f})\|$$(file -b -e elf $${f}) ; \
done > $@.in
find ${dirs} -type d | while read d ; \
do echo directory\|$$(stat -c %n\|%a\|%u:%g $${d}) ; \
do echo directory\|$$(stat -c %n\|%a\|root:root $${d}) ; \
done >> $@.in
find ${dirs} -type c | while read c ; \
do echo device\|$${c}\|$$(file -b $${c}) ; \
@ -44,10 +44,10 @@ ${pkgdbdir}/plist:
${pkgdbdir}/etc.plist:
if [ ! -d ${pkgdbdir} ] ; then install -d ${pkgdbdir} ; fi
find etc -type f | while read f ; \
do echo file\|$$(stat -c %n\|%a\|%u:%g $${f})\|$$(file -b -e elf $${f}) ; \
do echo file\|$$(stat -c %n\|%a\|root:root $${f})\|$$(file -b -e elf $${f}) ; \
done > $@.in
find etc -type d | while read d ; \
do echo directory\|$$(stat -c %n\|%a\|%u:%g $${d}) ; \
do echo directory\|$$(stat -c %n\|%a\|root:root $${d}) ; \
done >> $@.in
mv -v $@.in $@