Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ ⎇ branch:  cross package maker


Check-in [8c7e8a005b]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a test for debconf support.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 8c7e8a005b708c9678496f1e1c17ee5c7ea4e5fd
User & Date: os@ebastien.name 2011-11-30 10:28:53
Context
2011-12-04
12:40
Merge from master; rewriting calls to safesystem(). check-in: 087c7d3b6c user: os@ebastien.name tags: trunk
2011-11-30
10:28
Add a test for debconf support. check-in: 8c7e8a005b user: os@ebastien.name tags: trunk
08:54
Force the gem installation path to match the one of the expected output. check-in: 01758dfe81 user: os@ebastien.name tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added test/dir-deb-with-debconf.out.





>
>
1
2
       0 bytes,     0 lines   *  config               
       0 bytes,     0 lines      templates            

Added test/dir-deb-with-debconf.test.



































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

run() {
  mkdir -p $tmpdir/prefix
  touch $tmpdir/config
  touch $tmpdir/templates

  fpm -s dir -t deb -n testing -a all \
  --deb-config $tmpdir/config \
  --deb-templates $tmpdir/templates \
  $tmpdir/prefix

  file=testing_1.0_all.deb
  dpkg -I $file | grep "\(config\)\|\(templates\)" > $output

  rm $file
}