summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorOliver Tappe2006-08-29 20:52:25 +0200
committerOliver Tappe2006-08-29 20:52:25 +0200
commiteb6ca2e6d655a3eef2960d3629bcfee87e257b57 (patch)
tree6add12e93700cb174f78ca3cf31264af0c646f54 /Makefile
parent* fixed several bugs, such that now the kernel is starting to boot (until (diff)
downloadcore-eb6ca2e6d655a3eef2960d3629bcfee87e257b57.tar.gz
core-eb6ca2e6d655a3eef2960d3629bcfee87e257b57.tar.xz
core-eb6ca2e6d655a3eef2960d3629bcfee87e257b57.zip
* 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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
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 \