Last change
on this file since 1614 was 981, checked in by Bruno Cornec, 15 years ago |
- Adds some notes for package signing
- Fix syntax for rpmbootstrap + build process
|
File size:
612 bytes
|
Line | |
---|
1 | gpg --armor --export bruno@mondorescue.org > RPM-GPG-KEY
|
---|
2 | rpm --import RPM-GPG-KEY
|
---|
3 | rpmmacros:
|
---|
4 | %_signature gpg
|
---|
5 | %_gpg_name FIXME@example.org
|
---|
6 | rpm --resign pkg
|
---|
7 |
|
---|
8 | #!/usr/bin/expect -f
|
---|
9 | # wrapper to make rpm --sign be non-interactive
|
---|
10 | # passwd is 1st arg, file to sign is 2nd
|
---|
11 | #send_user =AB$argv0 [lrange $argv 0 2]\n"=20
|
---|
12 | #set files [lrange $argv 1 $argc ]
|
---|
13 |
|
---|
14 | set password [lindex $argv 0]
|
---|
15 | set files [lrange $argv 1 1 ]
|
---|
16 | spawn rpm --addsign $files
|
---|
17 | expect "Enter pass phrase:"
|
---|
18 | send -- "$password\r"
|
---|
19 | expect eof
|
---|
20 |
|
---|
21 | echo "xxxxxxxx" | setsid rpm --addsign /users/bruno/mondo/svn/build/RPMS/x86_64/mindi-1.2.5-1.mdv2007.1.x86_64.rpm
|
---|
Note:
See
TracBrowser
for help on using the repository browser.