Commit 33d3c9b2 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

We should avoid stripping of linux kernel

parent 075d8690
......@@ -70,7 +70,7 @@ $(PACKAGES):
rm -rf work
rm -rf mnt
mkdir -p /usr/share/packages
find root -type f -exec strip --strip-unneeded -K grub_mod_init -K grub_mod_fini '{}' ';' 2> /dev/null
find root -type f ! -name vmlinu* -exec strip --strip-unneeded -K grub_mod_init -K grub_mod_fini '{}' ';' 2> /dev/null
find root -type c -exec bash -c "FILE=\$$(ls -l '{}' | awk '/0, 0/ {print \$$NF}'); if [ ! -z \$$FILE ]; then MAIN=\$$(echo \$$FILE | sed -e 's/root//'); rm -rf \$$MAIN \$$FILE; fi" ';'
find root -type f -exec md5sum '{}' ';' | sed -e 's/ root/ /' >> /usr/share/packages/$@.md5
if [ -s /usr/share/packages/$@.md5 ] ; then \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment