Changeset 1016 for opsi/server/wsusoffline
- Timestamp:
- Jun 2, 2012, 5:53:54 PM (13 years ago)
- Location:
- opsi/server/wsusoffline
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/server/wsusoffline/wsusoffline.spec
r1014 r1016 50 50 mkdir -p $RPM_BUILD_ROOT/var/lib/ 51 51 unzip wsusoffline/%{name}%{ver}.zip -d $RPM_BUILD_ROOT/var/lib/ 52 install -d $RPM_BUILD_ROOT/%{DEST_DIR}/temp/ 53 54 55 # remove windows only stuff 52 56 rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/*.exe 53 57 rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/*.au3 54 58 rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/bin 55 59 rm -r $RPM_BUILD_ROOT/%{DEST_DIR}/cmd 56 chmod g+w $RPM_BUILD_ROOT/%{DEST_DIR}57 chmod g+w $RPM_BUILD_ROOT/%{DEST_DIR}/exclude/58 chmod -R g+w $RPM_BUILD_ROOT/%{DEST_DIR}/client/59 chmod a+x $RPM_BUILD_ROOT/%{DEST_DIR}/sh/*60 chmod g+w $RPM_BUILD_ROOT/%{DEST_DIR}/sh/61 install -d -m 775 $RPM_BUILD_ROOT/%{DEST_DIR}/temp62 60 61 # adapt permissions 62 chmod g+ws $RPM_BUILD_ROOT/%{DEST_DIR} 63 find $RPM_BUILD_ROOT/%{DEST_DIR}/client/ -type d -exec chmod g+ws {} \; 64 chmod g+ws $RPM_BUILD_ROOT/%{DEST_DIR}/exclude/ 65 chmod g+ws $RPM_BUILD_ROOT/%{DEST_DIR}/log/ 66 chmod g+ws $RPM_BUILD_ROOT/%{DEST_DIR}/iso/ 67 chmod g+ws $RPM_BUILD_ROOT/%{DEST_DIR}/sh/ 68 chmod a+x $RPM_BUILD_ROOT/%{DEST_DIR}/sh/* 69 chmod g+ws $RPM_BUILD_ROOT/%{DEST_DIR}/temp/ 70 71 72 # install start wrapper scripts 63 73 mkdir -p $RPM_BUILD_ROOT/usr/bin/ 64 74 install wsusoffline/*.sh $RPM_BUILD_ROOT/usr/bin/ 75 76 65 77 66 78 %clean … … 69 81 %pre 70 82 getent group wsusoffline >/dev/null || groupadd -r wsusoffline 71 exit 0 83 72 84 73 85 %files 74 86 %defattr(-,root,root) 75 87 /usr/bin/wsus-*.sh 88 %dir %{DEST_DIR} 76 89 # #{DEST_DIR}/bin 77 90 # #{DEST_DIR}/cmd … … 81 94 82 95 %defattr(-,root,wsusoffline) 83 %dir %{DEST_DIR}84 96 %{DEST_DIR}/client/ 85 97 %{DEST_DIR}/exclude/ -
opsi/server/wsusoffline/wsusoffline/wsus-create-iso-image.sh
r1015 r1016 6 6 fi 7 7 cd /var/lib/wsusoffline/sh 8 umask 0002 8 9 ./CreateISOImage.sh "$@" -
opsi/server/wsusoffline/wsusoffline/wsus-download-updates.sh
r1015 r1016 8 8 fi 9 9 cd ${DEST}/sh 10 umask 0002 10 11 ./DownloadUpdates.sh "$@"
Note:
See TracChangeset
for help on using the changeset viewer.