@@ -15,6 +15,17 @@ timeEcho "Building NetSUSLP Installer..."
15
15
rm -f NetSUSInstaller.run 2>&1 > /dev/null
16
16
rm -Rf temp 2>&1 > /dev/null
17
17
18
+ # mkdir temp
19
+ # cp -R base temp
20
+ # cp -R NetBoot temp
21
+ # cp -R SUS temp
22
+ # cp -R webadmin temp
23
+ # cp -R LDAPProxy temp
24
+ # cp -R includes/* temp/base/
25
+ # cp -R includes/* temp/NetBoot/
26
+ # cp -R includes/* temp/SUS/
27
+ # cp -R includes/* temp/webadmin/
28
+ # cp -R includes/* temp/LDAPProxy/
18
29
mkdir -p temp/installer/checks
19
30
mkdir -p temp/installer/resources
20
31
mkdir -p temp/installer/utils
@@ -42,11 +53,30 @@ if [ -x /usr/bin/xattr ]; then find temp -exec xattr -c {} \; ;fi # Remove OS X
42
53
find temp -name .DS_Store -delete # Clean out .DS_Store files
43
54
find temp -name .svn | xargs rm -Rf # Clean out SVN garbage
44
55
56
+
57
+ # Generate NetBoot App sub-installer
58
+ # timeEcho "Creating NetBoot sub-installer..."
59
+ # bash makeself/makeself.sh temp/NetBoot/ temp/base/netbootInstall.run "NetBoot Installer" "bash netbootInstall.sh" > /dev/null
60
+
61
+ # Generate SUS sub-installer
62
+ # timeEcho "Creating SUS sub-installer..."
63
+ # bash makeself/makeself.sh temp/SUS/ temp/base/susInstall.run "SUS Installer" "bash susInstall.sh" > /dev/null
64
+
65
+ # Generate webadmin sub-installer
66
+ # timeEcho "Creating webadmin sub-installer..."
67
+ # bash makeself/makeself.sh temp/webadmin/ temp/base/webadminInstall.run "WebAdmin Installer" "bash webadminInstall.sh" > /dev/null
68
+
69
+ # Generate LDAP Proxy sub-installer
70
+ # timeEcho "Creating LDAP Proxy sub-installer..."
71
+ # bash makeself/makeself.sh temp/LDAPProxy/ temp/base/LDAPProxyInstall.run "LDAP Proxy Installer" "bash LDAPProxyInstall.sh" > /dev/null
72
+
45
73
# Generate final installer
46
74
timeEcho " Creating final installer..."
75
+ # bash makeself/makeself.sh temp/base/ NetSUSLPInstaller.run "NetSUSLP Installer" "bash NetSUSInstaller.sh"
47
76
bash makeself/makeself.sh temp/installer/ NetSUSLPInstaller.run " NetSUSLP Installer" " bash install.sh"
48
77
49
78
timeEcho " Cleaning up..."
79
+ # cp temp/*/*.run . # Uncomment this if you want to test the sub-installers outside of the main installer
50
80
rm -Rf temp 2>&1 > /dev/null
51
81
timeEcho " Finished creating the NetSUS Installer. "
52
82
0 commit comments