-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmakeSlackISOs.sh
82 lines (64 loc) · 2.13 KB
/
makeSlackISOs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/bin/bash
#
# Shell script to build (unofficial) Slackware-current ISOs
#
# Lars Strand - larstra (at) ifi uio no
#
# Last update: Fri Aug 21 14:46:14 CEST 2015
#
DATE=`date +"%d_%b_%Y"`
MD5SUM="/usr/bin/md5sum"
CURRENT="slackware-current-$DATE-DVD.iso"
CURRENT64="slackware64-current-$DATE-DVD.iso"
LOC_CURRENT="/ftp/slackware/slackware-current"
LOC_CURRENT64="/ftp/slackware/slackware64-current"
DUMP="/ftp/slackware/slackware-iso/slackware-current-iso"
MKISOFS="/usr/bin/mkisofs"
# remove the old build
rm -rf $DUMP/*
# build DVD CURRENT ISO
cd $LOC_CURRENT/
$MKISOFS -o $DUMP/$CURRENT \
-R -J -V "Slackware-current DVD" \
-x ./source \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-p "Slackware-current build from slackware.no - NOT OFFICIAL" \
-publisher "Slackware-current build from slackware.no - NOT OFFICIAL" \
-A "Slackware-current DVD - build $DATE" .
# build DVD CURRENT 64 ISO
cd $LOC_CURRENT64/
$MKISOFS -o $DUMP/$CURRENT64 \
-R -J -V "Slackware64-current DVD" \
-x ./source \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-p "Slackware64-current build from slackware.no - NOT OFFICIAL" \
-publisher "Slackware64-current build from slackware.no - NOT OFFICIAL" \
-A "Slackware64-current DVD - build $DATE" .
# jump to right build location
cd $DUMP
# copy the Changelog, so folks know what's included
cp -l $LOC_CURRENT/ChangeLog.txt ChangeLog-current.txt
cp -l $LOC_CURRENT64/ChangeLog.txt ChangeLog64-current.txt
# make MD5 sums of the ISOs
$MD5SUM $CURRENT > CHECKSUMS.md5
$MD5SUM $CURRENT64 >> CHECKSUMS.md5
# bump warning
echo "** WARNING! **
This is experimental current ISO builds. They are NOT official,
so use at your own risk!
If you have any comments/suggestions/error-reports regarding these ISOs,
let me know so I can improve the build-script! You'll find the script
at: http://www.slackware.no/makeSlackISOs.sh
New build every Tuesday at 0500 CET/CEST
Enjoy!
larstra (at) ifi uio no
" > README.TXT
# end