Update kernel config, fix plist formatting
This commit is contained in:
parent
d37fe8623b
commit
5f2a372e1f
@ -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 $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user