[1cefd4d] | 1 | <!-- $LastChangedBy$ $Date$ -->
|
---|
[276015d2] | 2 |
|
---|
[07c39524] | 3 | <!ENTITY day "29"> <!-- Always 2 digits -->
|
---|
[cb3304d3] | 4 | <!ENTITY month "10"> <!-- Always 2 digits -->
|
---|
[0bb2be7c] | 5 | <!ENTITY year "2014">
|
---|
[416886f] | 6 | <!ENTITY copyrightdate "2001-&year;">
|
---|
[7178f6d] | 7 | <!ENTITY copyholder "The BLFS systemd-ng Development Team">
|
---|
[9e9cd2a2] | 8 | <!ENTITY version "&year;-&month;-&day;">
|
---|
[07c39524] | 9 | <!ENTITY releasedate "October 29th, &year;">
|
---|
[e9ef7b5e] | 10 | <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
---|
[7178f6d] | 11 | <!ENTITY blfs-version "systemd-ng"> <!-- svn|[release #] -->
|
---|
| 12 | <!ENTITY lfs-version "systemd"> <!-- x.y|development] -->
|
---|
[103ead8] | 13 | <!ENTITY last-commit "$Date$"> <!-- Automatic update -->
|
---|
[4e88613] | 14 | <!ENTITY lfs-domainname "linuxfromscratch.org">
|
---|
[29a430f] | 15 |
|
---|
[7178f6d] | 16 | <!ENTITY maintainer-fullname "The BLFS systemd-ng Team">
|
---|
[f6ba18fd] | 17 | <!ENTITY maintainer-firstname "BLFS">
|
---|
[41666068] | 18 | <!ENTITY maintainer-address "blfs-maintainer@&lfs-domainname;">
|
---|
[4e88613] | 19 |
|
---|
[9cbbf24b] | 20 | <!ENTITY lfs-website "http://www.&lfs-domainname;">
|
---|
[cbddee1] | 21 | <!-- downloads - root must not have an entity because it is needed for scripts
|
---|
[7c284e7] | 22 | change svn to x.y for release -->
|
---|
[7178f6d] | 23 | <!ENTITY downloads-root "http://www.linuxfromscratch.org/blfs/downloads/systemd-ng">
|
---|
[4e88613] | 24 | <!ENTITY downloads-project "http://downloads.&lfs-domainname;">
|
---|
[1fb339c] | 25 | <!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn">
|
---|
| 26 | <!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn">
|
---|
[71e6ae5] | 27 | <!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/sources/other">
|
---|
[e867a12] | 28 | <!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other">
|
---|
[e67d068] | 29 | <!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn">
|
---|
[4e88613] | 30 | <!ENTITY hints-root "http://www.&lfs-domainname;/hints">
|
---|
[207c3129] | 31 | <!ENTITY patch-downloads "http://www.linuxfromscratch.org/patches/downloads">
|
---|
[7178f6d] | 32 | <!ENTITY patch-root "http://www.&lfs-domainname;/patches/blfs/systemd-ng">
|
---|
[4e88613] | 33 | <!ENTITY errata "http://www.&lfs-domainname;/blfs/errata/&blfs-version;/">
|
---|
[f267149] | 34 | <!ENTITY blfs-ticket-root "http://wiki.&lfs-domainname;/blfs/ticket/">
|
---|
[4e88613] | 35 | <!-- <!ENTITY lfs-root "http://www.&lfs-domainname;/lfs/view/&lfs-version;"> -->
|
---|
| 36 | <!ENTITY lfs-root "../../../../lfs/view/&lfs-version;">
|
---|
[7178f6d] | 37 | <!ENTITY lfs-dev "../../../../lfs/view/systemd">
|
---|
[ec9b2d7] | 38 | <!ENTITY kernel "http://www.kernel.org/pub/">
|
---|
[1604b8ff] | 39 | <!ENTITY gstreamer-dl "http://gstreamer.freedesktop.org/src">
|
---|
[c9b953e6] | 40 | <!ENTITY gnu-alpha-ftp "ftp://alpha.gnu.org/gnu/">
|
---|
| 41 | <!ENTITY gnu-alpha-http "http://alpha.gnu.org/gnu/">
|
---|
[fce275e] | 42 | <!ENTITY sourceforge-repo "http://downloads.sourceforge.net">
|
---|
[e50b41c] | 43 | <!ENTITY sourceforge-repo2 "http://sourceforge.net">
|
---|
[c7ed4f4d] | 44 | <!ENTITY gentoo-ftp-repo "ftp://mirror.ovh.net/gentoo-distfiles/distfiles">
|
---|
[98e2adf] | 45 | <!ENTITY fedora-http-repo "http://pkgs.fedoraproject.org/repo/pkgs">
|
---|
[faf325d] | 46 | <!ENTITY jaist-ftp-repo "ftp://ftp.jaist.ac.jp/pub//sourceforge">
|
---|
[4e88613] | 47 | <!ENTITY publisher "Unknown">
|
---|
[432a111] | 48 | <!ENTITY xorg-download-http "http://xorg.freedesktop.org/archive/individual">
|
---|
[2f4014b] | 49 | <!ENTITY xorg-download-ftp "ftp://ftp.x.org/pub/individual">
|
---|
[1ddbf11a] | 50 | <!ENTITY mozilla-http "http://releases.mozilla.org/pub/mozilla.org">
|
---|
| 51 | <!ENTITY mozilla-ftp "ftp://ftp.mozilla.org/pub/mozilla.org">
|
---|
[07584d8] | 52 | <!ENTITY gnome-download-http "http://ftp.gnome.org/pub/gnome/sources">
|
---|
| 53 | <!ENTITY gnome-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources">
|
---|
[ac3e2e3b] | 54 | <!ENTITY gnome-minor "3.12">
|
---|
[4197597] | 55 | <!ENTITY gnome-minor-14 "3.14">
|
---|
[4122007] | 56 |
|
---|
[55fb7f56] | 57 | <!-- These entities are used to identify versions of LFS
|
---|
[db808f2] | 58 | packages referenced throughout the BLFS book. -->
|
---|
[eb631ac] | 59 | <!ENTITY lfs-autoconf-version "2.69">
|
---|
[2f141ef] | 60 | <!ENTITY lfs-coreutils-version "8.23">
|
---|
| 61 | <!ENTITY lfs-e2fsprogs-version "1.42.11">
|
---|
[eb631ac] | 62 | <!ENTITY lfs-flex-version "2.5.39">
|
---|
[2f141ef] | 63 | <!ENTITY lfs-gcc-version "4.9.1">
|
---|
[eb631ac] | 64 | <!ENTITY lfs-gdbm-version "1.11">
|
---|
| 65 | <!ENTITY lfs-m4-version "1.4.17">
|
---|
[f524a8f] | 66 | <!-- this was originally the perl version used by the corresponding
|
---|
| 67 | version of lfs, in those days always for i686, but now BLFS is a rolling
|
---|
| 68 | release -->
|
---|
| 69 | <!ENTITY lfs-perl-version "<5.x.y>/<arch-linux>">
|
---|
[d64103f] | 70 | <!ENTITY lfs-shadow-version "4.2.1">
|
---|
[d659cbe] | 71 | <!ENTITY lfs-vim-version "7.4">
|
---|
[55fb7f56] | 72 | <!-- End LFS versions -->
|
---|
[4122007] | 73 |
|
---|
[7178f6d] | 74 | <!ENTITY blfs-bootscripts-version "20141026">
|
---|
| 75 | <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-systemd-units-&blfs-bootscripts-version;.tar.bz2">
|
---|
[29a430f] | 76 |
|
---|
[4e88613] | 77 | <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
|
---|
[d53eb0e] | 78 |
|
---|
[b5a2067] | 79 | <!-- These entities are used to annotate the current status of a package as it
|
---|
| 80 | relates to the version of LFS it will build/work against -->
|
---|
[6f88eb2] | 81 | <!ENTITY lfs76_checked "<para>This package is known to build and work
|
---|
[7178f6d] | 82 | properly using an LFS-7.6 systemd platform.</para>">
|
---|
[6f88eb2] | 83 | <!ENTITY lfs76_built "<para>This package is known to build using an LFS
|
---|
[7178f6d] | 84 | 7.6 systemd platform but has not been tested.</para>">
|
---|
[6f88eb2] | 85 |
|
---|
[040a2e4] | 86 | <!-- usage: <para>&lfssvn_checked;ccyymmdd&lfssvn_checked2;</para> -->
|
---|
[76ae9a2] | 87 | <!ENTITY lfssvn_checked "This package is known to build and work properly
|
---|
[040a2e4] | 88 | using an LFS-SVN-">
|
---|
[5f04edc] | 89 | <!ENTITY lfssvn_checked2 " platform.">
|
---|
[040a2e4] | 90 | <!ENTITY lfssvn_built "This package is known to build using an LFS-SVN-">
|
---|
[5f04edc] | 91 | <!ENTITY lfssvn_built2 " platform but has not been tested.">
|
---|
[b5a2067] | 92 | <!-- End special entities about LFS compatibility -->
|
---|
| 93 |
|
---|
[ba58642] | 94 | <!ENTITY as_root "<note><para>When installing multiple packages in a script,
|
---|
| 95 | the installation needs to be done as the root user. There are three general
|
---|
| 96 | options that can be used to do this:</para>
|
---|
| 97 |
|
---|
| 98 | <orderedlist>
|
---|
| 99 |
|
---|
| 100 | <listitem><para>Run the entire script as the root user (not
|
---|
| 101 | recommended).</para></listitem>
|
---|
| 102 |
|
---|
| 103 | <listitem><para>Use the <command>sudo</command> command from the <xref
|
---|
| 104 | linkend='sudo'/> package.</para></listitem>
|
---|
| 105 |
|
---|
| 106 | <listitem><para>Use <command>su -c "command arguments"</command>
|
---|
| 107 | (quotes required) which will ask for the root password for every iteration
|
---|
[0d7900a] | 108 | of the loop.</para></listitem>
|
---|
| 109 |
|
---|
[ba58642] | 110 | </orderedlist>
|
---|
| 111 |
|
---|
| 112 | <para>One way to handle this situation is to create a short
|
---|
| 113 | <command>bash</command> function that automatically selects the appropriate
|
---|
| 114 | method. Once the command is set in the environment, it does not need to be
|
---|
| 115 | set again.</para>
|
---|
[0d7900a] | 116 |
|
---|
[ba58642] | 117 | <screen><userinput>as_root()
|
---|
| 118 | {
|
---|
| 119 | if [ $EUID = 0 ]; then $*
|
---|
| 120 | elif [ -x /usr/bin/sudo ]; then sudo $*
|
---|
| 121 | else su -c \\"$*\\"
|
---|
[0d7900a] | 122 | fi
|
---|
[ba58642] | 123 | }
|
---|
| 124 |
|
---|
| 125 | export -f as_root</userinput></screen>
|
---|
| 126 | </note>">
|
---|
[33cbd93a] | 127 |
|
---|
[e03aea8] | 128 | <!ENTITY not-katamari "<para>This package is not a part of the Xorg
|
---|
| 129 | katamari and is provided only as a dependency to
|
---|
| 130 | other packages or for testing the completed Xorg
|
---|
| 131 | installation.</para>">
|
---|
[058a3280] | 132 |
|
---|
| 133 | <!ENTITY gst-compat "<note><para><application>GStreamer</application> 1.0 series
|
---|
[602bef5] | 134 | is not API or ABI compatible with
|
---|
[058a3280] | 135 | <application>GStreamer</application> 0.10 series and both
|
---|
[602bef5] | 136 | can be installed on the same system.</para></note>">
|
---|
[058a3280] | 137 |
|
---|
[93f680d5] | 138 |
|
---|
| 139 | <!-- Problem with some packages introduced by a given dependency version -->
|
---|
| 140 | <!ENTITY gcc-490 "gcc-4.9.0">
|
---|
| 141 |
|
---|
| 142 |
|
---|
| 143 |
|
---|
[13652301] | 144 | <!ENTITY % package-entities SYSTEM "packages.ent">
|
---|
| 145 | %package-entities;
|
---|
[169031f] | 146 |
|
---|
| 147 | <!ENTITY % systemd-package-entities SYSTEM "systemd.ent">
|
---|
| 148 | %systemd-package-entities;
|
---|