##// 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 cd $DEBBUILDPATH/deb_lppserial
2 rm -R lppserial-1.0
3 rm -R lppserial-1.0
3 cp -R lppserial-1.0.orig lppserial-1.0
4 cp -R lppserial-1.0.orig lppserial-1.0
4 diff lppserial-1.0 $HGREPOPATH/lppserial > lppserial_1.0.diff
5 diff -rupN lppserial-1.0 $HGREPOPATH/lppserial > lppserial_1.0.diff
5 patch -p0 lppserial-1.0 < 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 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/i386/
4 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/amd64/
5 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/i386/
6 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/amd64/
7 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/i386/
8 mkdir -p $DEBBUILDPATH/deb_lppserial/tmp/src/
9 DEBSIGN_KEYID=208F4C8A
3 debuild -S
10 debuild -S
4 pbuilder-lucid-amd64 update
11 pbuilder-lucid-amd64 update
5 rm /var/cache/pbuilder/result/*
12 rm /var/cache/pbuilder/result/*
6 pbuilder-lucid-amd64 build ../*.dsc
13 pbuilder-lucid-amd64 build ../*.dsc
7 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/amd64/
14 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/amd64/
8 mv /var/cache/pbuilder/result/* $UBUNTUREPOPATH/src/
15 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/amd64/
16 #mv /var/cache/pbuilder/result/* $UBUNTUREPOPATH/src/
17 mv /var/cache/pbuilder/result/* $DEBBUILDPATH/deb_lppserial/tmp/src/
9 pbuilder-lucid-i386 update
18 pbuilder-lucid-i386 update
10 pbuilder-lucid-i386 build ../*.dsc
19 pbuilder-lucid-i386 build ../*.dsc
11 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/i386/
20 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/lucid/i386/
21 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/lucid/i386/
12 pbuilder-maverick-i386 update
22 pbuilder-maverick-i386 update
13 pbuilder-maverick-i386 build ../*.dsc
23 pbuilder-maverick-i386 build ../*.dsc
14 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/i386/
24 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/i386/
25 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/maverick/i386/
15 pbuilder-maverick-amd64 update
26 pbuilder-maverick-amd64 update
16 pbuilder-maverick-amd64 build ../*.dsc
27 pbuilder-maverick-amd64 build ../*.dsc
17 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/maverick/amd64/
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/
18 pbuilder-natty-i386 update
30 pbuilder-natty-i386 update
19 pbuilder-natty-i386 build ../*.dsc
31 pbuilder-natty-i386 build ../*.dsc
20 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/i386/
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/
21 pbuilder-natty-amd64 update
34 pbuilder-natty-amd64 update
22 pbuilder-natty-amd64 build ../*.dsc
35 pbuilder-natty-amd64 build ../*.dsc
23 mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/amd64/
36 #mv /var/cache/pbuilder/result/*.deb $UBUNTUREPOPATH/debs/natty/amd64/
24 cd $UBUNTUREPOPATH
37 mv /var/cache/pbuilder/result/*.deb $DEBBUILDPATH/deb_lppserial/tmp/debs/natty/amd64/
25 sh update.sh No newline at end of file
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