~mfisch/ubuntu/precise/live-manual/live-manual-fix-ftbfs-831392

« back to all changes in this revision

Viewing changes to manual/pt_BR/user_customization-packages.ssi

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2011-08-24 19:44:03 UTC
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: james.westby@ubuntu.com-20110824194403-5e33fc75oe24zdbm
Tags: upstream-3.0~a7
ImportĀ upstreamĀ versionĀ 3.0~a7

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
Within the distribution archive, archive areas are major divisions of the
42
42
archive. In Debian, these are #{main}#, #{contrib}# and #{non-free}#. Only
43
 
#{main}# contains software that is official a part of the Debian
44
 
distribution, hence that is the default. One or more values may be
45
 
specified, e.g.
 
43
#{main}# contains software that is part of the Debian distribution, hence
 
44
that is the default. One or more values may be specified, e.g.
46
45
 
47
46
code{
48
47
 
57
56
specified derivative are supported instead of the ones for Debian. The mode
58
57
also modifies live-build behaviour to suit the derivatives.
59
58
 
60
 
*Note:* The projects for whom these modes were added are primarily responsible for supporting users of these options. The Debian live project, in turn, provides development support on a best-effort basis only, based on feedback from the derivative projects as we do not develop or support these derivatives ourselves.
 
59
*{Note:}* The projects for whom these modes were added are primarily responsible for supporting users of these options. The Debian live project, in turn, provides development support on a best-effort basis only, based on feedback from the derivative projects as we do not develop or support these derivatives ourselves.
61
60
 
62
61
3~ Distribution mirrors
63
62
 
136
135
You should also put the GPG key used to sign the repository into
137
136
#{config/chroot_sources/your-repository.{binary,chroot}.gpg}# files.
138
137
 
139
 
Note: some preconfigured package repositories are available for easy
140
 
selection through the #{--repository}# option, e.g. for enabling live
141
 
snapshots, a simple command is enough to enable it:
 
138
*{Note:}* some preconfigured package repositories are available for easy selection through the #{--repository}# option, e.g. for enabling live snapshots, a simple command is enough to enable it:
142
139
 
143
140
code{
144
141
 
205
202
environments. See {Desktop and language tasks}#desktop-and-language-tasks
206
203
for more details.
207
204
 
208
 
Note: The prebuilt GNOME, KDE, LXDE and XFCE images available for download
209
 
at http://live.debian.net are built using the corresponding virtual
210
 
#{*-desktop}# lists.
 
205
*{Note:}* The prebuilt GNOME, KDE, LXDE and XFCE images available for download at http://live.debian.net are built using the corresponding virtual #{*-desktop}# lists.
211
206
 
212
207
The default location for the list files on your system is
213
208
#{/usr/share/live/build/lists/}#. To determine the packages in a given list,
543
538
the former, create #{config/chroot_apt/preferences}#. For the latter, create
544
539
#{config/chroot_local-includes/etc/apt/preferences}#.
545
540
 
546
 
Let's say you are building a Squeeze live system but need all #{live-*}#
547
 
packages to be installed from Sid at build time. You need to add Sid to your
548
 
APT sources and pin it so that only the packages you want are installed from
549
 
it at build time and all others are taken from the target system
550
 
distribution, Squeeze. The following will accomplish this:
 
541
Let's say you are building a Squeeze live system but need all the live
 
542
packages that end up in the binary image to be installed from Sid at build
 
543
time. You need to add Sid to your APT sources and pin it so that only the
 
544
packages you want are installed from it at build time and all others are
 
545
taken from the target system distribution, Squeeze. The following will
 
546
accomplish this:
551
547
 
552
548
code{
553
549
 
554
550
 $ echo "deb http://mirror/debian sid main" > config/chroot_sources/sid.chroot
555
551
 $ cat >>config/chroot_apt/preferences <<END
556
 
 Package: live-*
 
552
 Package: live-boot live-boot-initramfs-tools live-config live-config-sysvinit
557
553
 Pin: release n=sid
558
554
 Pin-Priority: 600
559
555
 
564
560
 
565
561
}code
566
562
 
 
563
*{Note:}* Wildcards can be used in package names (e.g. *{Package: live-*}*) with Apt version 0.8.14 or higher. This means that it works with Wheezy using:
 
564
 
 
565
code{
 
566
 
 
567
$ lb config --distribution wheezy
 
568
 
 
569
}code
 
570
 
567
571
Negative pin priorities will prevent a package from being installed, as in
568
572
the case where you do not want a package that is recommended by another
569
573
package. Suppose you are building an LXDE image using #{--packages-lists