Skip to content

Commit

Permalink
pinetainer: post-build.sh: update script
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Aug 26, 2020
1 parent dfd1676 commit 047b668
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions board/pinetainer/post-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ mv "${1:?}/etc/init.d/S80dnsmasq" "${1:?}/etc/init.d/S10dnsmasq.sh" 2>/dev/null
mv "${1:?}/etc/init.d/S10udev" "${1:?}/etc/init.d/S90udev.sh" 2>/dev/null || true
mv "${1:?}/etc/init.d/S21haveged" "${1:?}/etc/init.d/S01haveged.sh" 2>/dev/null || true

# Useless Dropbear executables and init scripts
rm "${1:?}/usr/bin/dropbearkey" 2>/dev/null || true
rm "${1:?}/usr/bin/dropbearconvert" 2>/dev/null || true
rm "${1:?}/etc/init.d/S50dropbear" 2>/dev/null || true

# Useless desktop integration (currently created by htop and qemu)
# Useless desktop integration (currently created by htop, qemu and latencytop)
rm -rf "${1:?}/usr/share/applications" 2>/dev/null || true
rm -rf "${1:?}/usr/share/pixmaps" 2>/dev/null || true
rm -rf "${1:?}/usr/share/icons" 2>/dev/null || true
rm -rf "${1:?}/usr/share/qemu/qemu-nsis.bmp" 2>/dev/null || true
rm -rf "${1:?}/usr/share/latencytop" 2>/dev/null || true

# Remove nginx default pages
rm -rf "${1:?}/usr/share/html" 2>/dev/null || true
Expand Down

0 comments on commit 047b668

Please sign in to comment.