From eb6ca2e6d655a3eef2960d3629bcfee87e257b57 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Tue, 29 Aug 2006 18:52:25 +0000 Subject: * added '-depth' to find command, as otherwise it would always complain about not being able to enter '.svn' folders (which was triggered by removing them). ['-depth' causes find to handle (here: remove) a folder's contents before the folder itself]. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@342 95ad53e4-c205-0410-b2fa-d234c58c8868 --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9ca48d06..070730de 100644 --- a/Makefile +++ b/Makefile @@ -51,6 +51,7 @@ install: @cp -a initrd/distro-specs/* /usr/share/openslx/distro-specs @cp installer/default_files/machine-setup.default \ /usr/share/openslx/templates + @cp -a installer/default_files/tftpboot /usr/share/openslx/ @echo -e "#!/bin/sh\n#\n# This script allows the local admin to \ extend the\n# capabilities at the beginning of the initramfs (stage3). \ The toolset is rather\n# restricted and you have to keep in mind that \ @@ -62,8 +63,8 @@ toolset is rather\n# restricted and you have to keep in mind that stage4 \ rootfs has the\n# prefix '/mnt'." \ > /var/lib/openslx/config/default/initramfs/postinit.local @chmod u+x /var/lib/openslx/config/default/initramfs/*init.local - @find /usr/share/openslx -regex ".*/\..*" -exec rm -rf {} 2>/dev/null \; -# fixme: for some reason find works but produces error status!? + @find /usr/share/openslx -depth -regex ".*/\..*" \ + -exec rm -rf {} 2>/dev/null \; #uninstall: # @echo -e "Uninstalling openslx.org project files but keeping configs \ -- cgit v1.2.3-55-g7522