Skip to content
Snippets Groups Projects
Commit ba2ef303 authored by Jonathan Maw's avatar Jonathan Maw
Browse files

Fix incorrect formatting of public data documentation

parent ef7b3d04
No related branches found
No related tags found
1 merge request!15Fix things that caused problems while creating a deb from a generic artifact
......@@ -45,12 +45,13 @@ e.g.
.. code:: yaml
public:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
bst:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
dpkg-data
---------
......@@ -64,13 +65,14 @@ e.g.
.. code:: yaml
public:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
bst:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
name
''''
......@@ -81,9 +83,10 @@ e.g.
.. code:: yaml
public:
dpkg-data:
foo:
name: foobar
bst:
dpkg-data:
bar:
name: foobar
package-scripts
---------------
......@@ -94,15 +97,16 @@ package if they are detected. They are written as raw text. e.g.
.. code:: yaml
public:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
bst:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
"""
......
......@@ -45,12 +45,13 @@ goes in which package, e.g.
.. code:: yaml
public:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
bst:
split-rules:
foo:
- /sbin/foo
- /usr/bin/bar
bar:
- /etc/quux
dpkg-data
---------
......@@ -63,13 +64,14 @@ The control field is used to generate the control file for each package, e.g.
.. code:: yaml
public:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
bst:
dpkg-data:
foo:
control: |
Source: foo
Section: blah
Build-depends: bar (>= 1337), baz
...
name
''''
......@@ -84,18 +86,20 @@ i.e. in an element named foo:
.. code:: yaml
public:
dpkg-data:
bar:
name: foobar
bst:
dpkg-data:
bar:
name: foobar
will be named "foobar", while the following data:
.. code:: yaml
public:
dpkg-data:
bar:
...
bst:
dpkg-data:
bar:
...
will create a package named "foo-bar"
......@@ -109,15 +113,16 @@ raw text, e.g.
.. code:: yaml
public:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
bst:
package-scripts:
foo:
preinst: |
#!/usr/bin/bash
/sbin/ldconfig
bar:
postinst: |
#!/usr/bin/bash
/usr/share/fonts/generate_fonts.sh
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment