##// END OF EJS Templates
improved automated deb generator script
jeandet -
r19:bbcc142e1473 alexis
parent child
Show More
@@ -0,0 +1,4
1 cp -R $DEBBUILDPATH/deb_lppserial/tmp/debs $UBUNTUREPOPATH/
2 cp -R $DEBBUILDPATH/deb_lppserial/tmp/src $UBUNTUREPOPATH/
3 cd $UBUNTUREPOPATH
4 sh update.sh
@@ -1,5 +1,7
1 cd $DEBBUILDPATH/deb_lppserial/
1 #!/bin/sh
2 rm -R lppserial-1.0
2 cd $DEBBUILDPATH/deb_lppserial
3 cp -R lppserial-1.0.orig lppserial-1.0
3 rm -R lppserial-1.0
4 diff lppserial-1.0 $HGREPOPATH/lppserial > lppserial_1.0.diff
4 cp -R lppserial-1.0.orig lppserial-1.0
5 patch -p0 lppserial-1.0 < lppserial_1.0.diff
5 diff -rupN lppserial-1.0 $HGREPOPATH/lppserial > lppserial_1.0.diff
6 cd lppserial-1.0
7 patch -p5 < ../lppserial_1.0.diff
@@ -1,25 +1,39
1 cd cd $DEBBUILDPATH/deb_lppserial/lppserial-1.0
1 cd $DEBBUILDPATH/deb_lppserial/lppserial-1.0
2 DEBSIGN_KEYID=E16A9ACD
2 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/amd64/
3 debuild -S
3 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/i386/
4 pbuilder-lucid-amd64 update
4 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/amd64/
5 rm /var/cache/pbuilder/result/*
5 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/i386/
6 pbuilder-lucid-amd64 build ../*.dsc
6 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/amd64/
7 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/amd64/
7 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/i386/
8 mv /var/cache/pbuilder/result/* $UBUNTUREPOPATH/src/
8 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/src/
9 pbuilder-lucid-i386 update
9 DEBSIGN_KEYID=208F4C8A
10 pbuilder-lucid-i386 build ../*.dsc
10 debuild -S
11 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/i386/
11 pbuilder-lucid-amd64 update
12 pbuilder-maverick-i386 update
12 rm /var/cache/pbuilder/result/*
13 pbuilder-maverick-i386 build ../*.dsc
13 pbuilder-lucid-amd64 build ../*.dsc
14 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/i386/
14 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/amd64/
15 pbuilder-maverick-amd64 update
15 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/amd64/
16 pbuilder-maverick-amd64 build ../*.dsc
16 #mv /var/cache/pbuilder/result/* $UBUNTUREPOPATH/src/
17 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/amd64/
17 mv /var/cache/pbuilder/result/* $DEBBUILDPATH/deb_lppserial/tmp/src/
18 pbuilder-natty-i386 update
18 pbuilder-lucid-i386 update
19 pbuilder-natty-i386 build ../*.dsc
19 pbuilder-lucid-i386 build ../*.dsc
20 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/i386/
20 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/i386/
21 pbuilder-natty-amd64 update
21 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/i386/
22 pbuilder-natty-amd64 build ../*.dsc
22 pbuilder-maverick-i386 update
23 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/amd64/
23 pbuilder-maverick-i386 build ../*.dsc
24 cd $UBUNTUREPOPATH
24 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/i386/
25 sh update.sh No newline at end of file
25 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/i386/
26 pbuilder-maverick-amd64 update
27 pbuilder-maverick-amd64 build ../*.dsc
28 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/amd64/
29 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/amd64/
30 pbuilder-natty-i386 update
31 pbuilder-natty-i386 build ../*.dsc
32 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/i386/
33 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/i386/
34 pbuilder-natty-amd64 update
35 pbuilder-natty-amd64 build ../*.dsc
36 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/amd64/
37 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/amd64/
38 #cd $UBUNTUREPOPATH
39 #sh update.sh No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now