Repository navigation
Expand file tree
/
Copy pathNotes
More file actions
49 lines (42 loc) · 1.88 KB
/
Copy pathNotes
File metadata and controls
49 lines (42 loc) · 1.88 KB
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
# Written by Eric Anderson
#
# (c) Copyright 2012 Hewlett-Packard Development Company, L.P.
#
# This program is free software; you can redistribute it and/or modify it under the terms
# of version 2 of the GNU General Public License as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with this program;
# if not, write to:
# Free Software Foundation, Inc.
# 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301, USA.
# Setup ~/.pbrc:
pbconfurl Lintel = file://home/anderse/.git/eric-lintel-pb-conf
pbdefdir default = $ENV{HOME}/cache-project-builder
vmpath default = $ENV{HOME}/cache-project-builder/qemu
vepath default = $ENV{HOME}/cache-project-builder/chroot
# initialize the project; the second lintel controls a name inside the ~pbdefdir/lintel directory
# expect lots of errors from your vcs
pb -p Lintel -r 0.2012.02.28 newproj Lintel
edit .../Lintel.pb
changes in 781b5c0
Create an origin remote and push to there.
% pb -p Lintel -r 0.2012.02.28 cms2build
# switch to centos-5 for vmlist, example uses rpm/mandriva.
# vmlist is irrelevant, the build2pkg command builds for your running OS.
# Lots of fiddling to get next bit to work.
% pb -p Lintel -r 0.2012.02.28 build2pkg
------
pb -v -p Lintel -m debian-6.0-i386 newve
update /etc/wgetrc to specify proxy
add rbsmirrorsrv to ~/.pbrc
Tried -k to keep around the pbscript.### file in the chroot, but that didn't seem to work.
--------------------------------------
TODO: check on sbx2build
TODO: check on fix to project directory name:
> Now your issue may be linked to that remaining point:
> http://trac.project-builder.org/ticket/99