Difference between revisions of "Manjaro-tools"

implemented command templates
(Marked this version for translation)
(implemented command templates)
Line 48: Line 48:


  <!--T:13-->
  <!--T:13-->
$ buildset -h
{{UserCmdOutput|command=buildset -h|result=
<pre>
  Usage: buildset [options]
  Usage: buildset [options]
     -c <name>  Create set
     -c <name>  Create set
Line 56: Line 57:
     -q          Query sets
     -q          Query sets
     -h          This help
     -h          This help
</pre>
}}


<!--T:14-->
<!--T:14-->
{{Note|The set name should be different from a directory name in pkgbuilds dir. Anything else should work, eg adding a date to the name.}}
{{Note|The set name should be different from a directory name in pkgbuilds dir. Anything else should work, eg adding a date to the name.}}


= buildpkg = <!--T:15-->
= buildpkg = <!--T:15-->
Line 74: Line 76:


  <!--T:19-->
  <!--T:19-->
{{UserCmdOutput|command=buildpkg|result=
<pre>
Usage: buildpkg [options]
Usage: buildpkg [options]
     -a <arch>          Arch [default: x86_64]
     -a <arch>          Arch [default: x86_64]
Line 87: Line 91:
     -s                Sign packages
     -s                Sign packages
     -w                Clean up cache and sources
     -w                Clean up cache and sources
</pre>
}}


<!--T:20-->
<!--T:20-->
Line 92: Line 98:


  <!--T:21-->
  <!--T:21-->
buildpkg -p <package-name>
{{UserCmd|command=buildpkg -p package-name}}


<!--T:22-->
<!--T:22-->
Line 107: Line 113:


  <!--T:26-->
  <!--T:26-->
$ buildtree -h
{{UserCmdOutput|command=buildtree -h|result=
<pre>
  Usage: buildtree [options]
  Usage: buildtree [options]
     -s            Sync manjaro tree
     -s            Sync manjaro tree
Line 114: Line 121:
     -q            Query settings
     -q            Query settings
     -h            This help[/code]
     -h            This help[/code]
</pre>
}}


<!--T:27-->
<!--T:27-->
Line 119: Line 128:


  <!--T:28-->
  <!--T:28-->
buildtree -as
{{UserCmd|command=buildtree -as}}
 


= buildiso = <!--T:29-->
= buildiso = <!--T:29-->
Line 136: Line 144:
The help looks like the following for x86_64:
The help looks like the following for x86_64:


<!--T:34-->
<!--T:34-->
$ buildiso -h
{{UserCmdOutput|command=buildiso -h|result=
<pre>
  Usage: buildiso [options]
  Usage: buildiso [options]
     -p <profile>      Buildset or profile [default: default]
     -p <profile>      Buildset or profile [default: default]
Line 153: Line 162:
     -q                Query settings and pretend build
     -q                Query settings and pretend build
     -h                This help
     -h                This help
 
</pre>
}}


== Query Building == <!--T:35-->
== Query Building == <!--T:35-->
Line 161: Line 171:


<!--T:37-->
<!--T:37-->
{{UserCmdOutput|command=buildiso -p xfce -qv|result=
<pre>
<pre>
~ >>> buildiso -p xfce -qv                                                         
[sudo] password for fh:
==> manjaro-tools
==> manjaro-tools
   -> version: 0.15.9
   -> version: 0.15.9
Line 207: Line 216:
   -> disable_systemd: pacman-init
   -> disable_systemd: pacman-init
</pre>
</pre>
 
}}


== Building == <!--T:38-->
== Building == <!--T:38-->
Line 215: Line 224:


  <!--T:40-->
  <!--T:40-->
$ buildiso -p xfce -b stable
{{UserCmd|command=buildiso -p xfce -b stable}}
 


== Building with predownloaded Xorg packages == <!--T:41-->
== Building with predownloaded Xorg packages == <!--T:41-->
Line 224: Line 232:


  <!--T:43-->
  <!--T:43-->
$ buildiso -p xfce-openbox-openrc/ -b stable -x
{{UserCmd|command=buildiso -p xfce-openbox-openrc/ -b stable -x}}
 


== Building with a small config change == <!--T:44-->
== Building with a small config change == <!--T:44-->
Line 236: Line 243:


<!--T:47-->
<!--T:47-->
The work directory can be found using the '''-''' option:
The work directory can be found using the '''-h''' option:


  <!--T:48-->
  <!--T:48-->
~ >>> buildiso -h                                                                                  
{{UserCmdOutput|command=buildiso -h|result=                 
<pre>
  Usage: buildiso [options]
  Usage: buildiso [options]
     -p <profile>      Buildset or profile [default: default]
     -p <profile>      Buildset or profile [default: default]
Line 263: Line 271:
     -q                Query settings and pretend build
     -q                Query settings and pretend build
     -h                This help
     -h                This help
</pre>
}}


<!--T:49-->
<!--T:49-->
    -r <dir>          Chroots directory
                        [default: '''/var/lib/manjaro-tools/buildiso''']
(work directory highlighted in bold)
(work directory highlighted in bold)


<!--T:50-->
<!--T:50-->
The required file can be edited as root, for example:
The required file can be edited as root, for example:
$ sudo nano /var/lib/manjaro-tools/buildiso/xfce/x86_64/desktopfs/etc/skel/.conkyrc
{{UserCmd|command=sudo nano /var/lib/manjaro-tools/buildiso/xfce/x86_64/desktopfs/etc/skel/.conkyrc}}


<!--T:51-->
<!--T:51-->
Line 278: Line 289:
<!--T:52-->
<!--T:52-->
Then the ISO then can be rebuilt as:
Then the ISO then can be rebuilt as:
$ buildiso -p xfce -cs
{{UserCmd|command=buildiso -p xfce -cs}}
 


=== Alternative === <!--T:53-->
=== Alternative === <!--T:53-->
Line 290: Line 300:


  <!--T:56-->
  <!--T:56-->
$ buildiso -p xfce -b stable -x
{{UserCmdOutput|command=buildiso -p xfce -b stable -x|result=
<pre>
==> Start building [xfce]
==> Start building [xfce]
==> Cleaning up ...
==> Cleaning up ...
   -> Deleting chroot [rootfs] (x86_64) ...
   -> Deleting chroot [rootfs] (x86_64) ...
   -> Deleting isoroot [iso] ...
   -> Deleting isoroot [iso] ...
...
[..]
...
</pre>
}}


<!--T:57-->
<!--T:57-->
Line 302: Line 314:


  <!--T:58-->
  <!--T:58-->
$ buildiso -p xfce/ -cz
{{UserCmd|command=buildiso -p xfce/ -cz}}


= See Also = <!--T:59-->
= See Also = <!--T:59-->
Moderators, translator
455

edits