Changeset c37e846
- Timestamp:
- 09/11/2022 04:42:58 PM (20 months ago)
- Branches:
- 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 7bd0378
- Parents:
- 84e1bb6
- git-author:
- Pierre Labastie <pierre.labastie@…> (09/11/2022 04:42:26 PM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (09/11/2022 04:42:58 PM)
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/lfs/sysconfig/createfiles
r84e1bb6 rc37e846 9 9 # 10 10 # Notes : The syntax of this file is as follows: 11 # 12 # 13 # 14 # 11 # if type is equal to "file" or "dir" 12 # <filename> <type> <permissions> <user> <group> 13 # if type is equal to "dev" 14 # <filename> <type> <permissions> <user> <group> <devtype> 15 15 # <major> <minor> 16 16 # 17 # 18 # 19 # 20 # 21 # 22 # 23 # 24 # 25 # 17 # <filename> is the name of the file which is to be created 18 # <type> is either file, dir, or dev. 19 # file creates a new file 20 # dir creates a new directory 21 # dev creates a new device 22 # <devtype> is either block, char or pipe 23 # block creates a block device 24 # char creates a character deivce 25 # pipe creates a pipe, this will ignore the <major> and 26 26 # <minor> fields 27 # 27 # <major> and <minor> are the major and minor numbers used for 28 28 # the device. 29 29 ######################################################################## -
bootscripts/lfs/sysconfig/modules
r84e1bb6 rc37e846 9 9 # 10 10 # Notes : The syntax of this file is as follows: 11 # 11 # <module> [<arg1> <arg2> ...] 12 12 # 13 13 # Each module should be on its own line, and any options that you want -
chapter03/packages.xml
r84e1bb6 rc37e846 21 21 if a newer version (with the vulnerability fixed) should be used. If 22 22 not, try to download the removed package from a mirror. Although it's 23 24 25 23 possible to download an old release from a mirror even if this release 24 has been removed because of a vulnerability, it's not recommended to 25 use a release known to be vulnerable for building your system.</para> 26 26 </note> 27 27 -
chapter04/settingenviron.xml
r84e1bb6 rc37e846 187 187 user is finished at the beginning of <xref 188 188 linkend="chapter-chroot-temporary-tools"/>, you can restore 189 189 <filename>/etc/bash.bashrc</filename> (if desired).</para> 190 190 191 191 <para>Note that the LFS Bash package we will build in -
chapter08/gettext.xml
r84e1bb6 rc37e846 63 63 <para>Since bison is not yet installed in /usr, configure hardcodes 64 64 the directory containing translations for the bison program (the 65 65 "locale" directory) as /tools/share/locale. Passing this variable 66 66 to make allows overriding the choice made by configure.</para> 67 67 </listitem> -
chapter08/meson.xml
r84e1bb6 rc37e846 109 109 110 110 <varlistentry id="meson"> 111 111 <term><command>meson</command></term> 112 112 <listitem> 113 113 <para>A high productivity build system</para> -
chapter08/readline.xml
r84e1bb6 rc37e846 64 64 <listitem> 65 65 <para>This option tells Readline that it can find the termcap 66 67 68 66 library functions in the curses library, rather than a separate 67 termcap library. It allows generating a correct 68 <filename>readline.pc</filename> file.</para> 69 69 </listitem> 70 70 </varlistentry> -
chapter08/vim.xml
r84e1bb6 rc37e846 171 171 <filename>*.spl</filename> and optionally, the <filename>*.sug</filename> 172 172 files for your language and character encoding from <ulink 173 url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save them to 174 <filename class='directory'>/usr/share/&vim-docdir;/spell/</filename>.</para> 173 url="https://github.com/vim/vim/tree/master/runtime/spell/"/> and save 174 them to <filename class='directory'> 175 /usr/share/&vim-docdir;/spell/</filename>.</para> 175 176 176 177 <para>To use these spell files, some configuration in -
git-version.sh
r84e1bb6 rc37e846 2 2 3 3 if [ "$1" = sysv ]; then 4 5 4 SYSV="INCLUDE" 5 SYSTEMD="IGNORE " 6 6 elif [ "$1" = systemd ]; then 7 8 7 SYSV="IGNORE " 8 SYSTEMD="INCLUDE" 9 9 else 10 11 10 echo You must provide either \"sysv\" or \"systemd\" as argument 11 exit 1 12 12 fi 13 13 … … 16 16 17 17 if ! git status > /dev/null; then 18 19 20 21 22 23 24 25 26 27 28 18 # Either it's not a git repository, or git is unavaliable. 19 # Just workaround. 20 echo "<![ %sysv; [" > version.ent 21 echo "<!ENTITY version \"unknown\">" >> version.ent 22 echo "]]>" >> version.ent 23 echo "<![ %systemd; [" >> version.ent 24 echo "<!ENTITY version \"unknown-systemd\">" >> version.ent 25 echo "]]>" >> version.ent 26 echo "<!ENTITY releasedate \"unknown\">" >> version.ent 27 echo "<!ENTITY copyrightdate \"1999-2022\">" >> version.ent 28 exit 0 29 29 fi 30 30 … … 40 40 41 41 case $day in 42 43 44 45 42 "1" | "21" | "31" ) suffix="st";; 43 "2" | "22" ) suffix="nd";; 44 "3" | "23" ) suffix="rd";; 45 * ) suffix="th";; 46 46 esac 47 47 … … 54 54 55 55 if [ "$(git diff HEAD | wc -l)" != "0" ]; then 56 57 56 version="$version+" 57 versiond="$versiond+" 58 58 fi 59 59 -
packages.ent
r84e1bb6 rc37e846 208 208 <!ENTITY flex-fin-sbu "0.4 SBU"> 209 209 210 <!ENTITY gawk-version "5. 1.1">211 <!ENTITY gawk-size "3, 075KB">210 <!ENTITY gawk-version "5.2.0"> 211 <!ENTITY gawk-size "3,306 KB"> 212 212 <!ENTITY gawk-url "&gnu;gawk/gawk-&gawk-version;.tar.xz"> 213 <!ENTITY gawk-md5 " 83650aa943ff2fd519b2abedf8506ace">213 <!ENTITY gawk-md5 "2f724d925873fc82f5e7b1d605ba9a42"> 214 214 <!ENTITY gawk-home "&gnu-software;gawk/"> 215 215 <!ENTITY gawk-tmp-du "45 MB"> -
part3intro/generalinstructions.xml
r84e1bb6 rc37e846 83 83 <para>Place all the sources and patches in a directory that will be 84 84 accessible from the chroot environment such as 85 85 <filename class="directory">/mnt/lfs/sources/</filename>.<!-- Do 86 86 <emphasis>not</emphasis> put sources in 87 87 <filename class="directory">/mnt/lfs/tools/</filename>. --></para> 88 88 </listitem> 89 89 <listitem> -
udev-lfs/ChangeLog
r84e1bb6 rc37e846 9 9 allow build with util-linux in LFS's /tools directory. 10 10 11 2010-01-26 12 13 14 15 16 2009-09-25 17 18 19 20 21 22 2009-05-23 23 24 25 26 2009-05-16 27 28 29 30 31 2009-05-16 32 33 34 35 36 37 38 39 2009-03-15 40 41 42 43 44 11 2010-01-26 Matt Burgess <matthew@linuxfromscratch.org> 12 * 55-lfs.rules: Remove lots of rules that have been merged upstream. 13 * 61-cdrom.rules: Remove as upstream has a replacement. 14 * doc/*: Cleanup and rewrite now that the rules are much simpler. 15 16 2009-09-25 Bryan Kadzban <bryan@linuxfromscratch.org> 17 * 55-lfs.rules: Make the RTC rule (which runs setclock) work for people 18 that don't use the RTC-class driver -- add another copy of the rule, 19 using KERNEL=="rtc" instead of SUBSYSTEM=="rtc". Also move the ACTION 20 match before the assignment to MODE. 21 22 2009-05-23 Bruce Dubbs <bdubbs@linuxfromscratch.org> 23 * 55-lfs.rules: Set the rtc by udev upon boot. Removed aio device from 24 udev configuration so defaults are used. 25 26 2009-05-16 Bryan Kadzban <bryan@linuxfromscratch.org> 27 * 55-lfs.rules: Adopt udev permissions for random, urandom, kmsg, and 28 input devices (including psaux, which probably doesn't exist anymore 29 anyway). 30 31 2009-05-16 Matt Burgess <matthew@linuxfromscratch.org> 32 * 55-lfs.rules: Remove the block rule as it was only setting 33 permissions that Udev will set by default 34 * 55-lfs.rules: Remove the rfcomm rule as the group it sets is already 35 included in upstream's rule 36 * 55-lfs-rules: Remove the tape rules as the group they sets is already 37 included in upstream's rules 38 39 2009-03-15 Bryan Kadzban <bryan@linuxfromscratch.org> 40 * 55-lfs.rules: Remove the ISDN-handling rules (replaced with upstream's 41 version, which has a better match via SUBSYSTEM). 42 * 55-lfs.rules: Replace "uucp" with "dialout" now that udev has decided 43 to standardize on a Debian-like setup (uucp is for UUCP daemons to use 44 for privilege separation; dialout is for users and devices). 45 45 46 46 2008-12-07 Bruce Dubbs <bdubbs@linuxfromscratch.org> 47 48 47 * 55-lfs.rules: Change one line to use continuation so it does 48 not overflow the book's width. 49 49 50 50 2008-12-07 Bryan Kadzban <bryan@linuxfromscratch.org> 51 52 53 54 55 51 * 55-lfs.rules: Remove several rules that are either provided by upstream, 52 or that don't have any effect (there is no /dev/js or /dev/djs according 53 to devices.txt). 54 * 55-lfs.rules, 61-cdrom.rules: Replace ACTION=="add" with "add|change" 55 everywhere, per upstream's general request. 56 56 57 57 2008-11-11 Bryan Kadzban <bryan@linuxfromscratch.org> 58 59 58 * 55-lfs.rules, 61-cdrom.rules: Fix comments to use the right rule 59 numbers. Thanks to Trent Shea for the fix. Closes #2278. 60 60 61 61 2008-10-15 DJ Lucas <dj@linuxfromscratch.org> 62 63 64 62 * 55-lfs.rules: Override default perms on floppy disk devices provided 63 by 50-udev-default.rules. Thanks to Bruce Dubbs for the fix. Closes 64 LFS ticket #2076. 65 65 66 66 2008-05-21 Bryan Kadzban <bryan@linuxfromscratch.org> 67 68 69 70 71 72 67 * 81-firmware.rules, doc/81-firmware.txt: Remove. This rule is 68 already handled by udev's 50-udev-default.rules file. The docs 69 can be added back later if needed. 70 * Makefile: Don't install the above deleted files. 71 * 55-lfs.rules: Remove the device-mapper rule, since the upstream 72 50-udev-default.rules file handles it properly. 73 73 74 74 2008-04-02 Bryan Kadzban <bryan@linuxfromscratch.org> 75 76 77 75 * Makefile: Make the package DESTDIR-friendly by installing the docs 76 into a fixed $(PREFIX)/share/doc/udev-config directory, instead of 77 trying to figure out what version of udev was just installed. 78 78 79 79 2007-10-30 Bryan Kadzban <bryan@linuxfromscratch.org> 80 81 82 80 * 55-lfs.rules: Since the dialout group was renamed to uucp, delete 81 the rules that override upstream's assignment of the dialout group. 82 Replace "dialout" with "uucp" on the remaining rules. 83 83 84 84 2007-10-29 Bryan Kadzban <bryan@linuxfromscratch.org> 85 86 85 * 51-lfs.rules: Move to 55-lfs.rules. 86 * doc/51-lfs.rules: Move to doc/55-lfs.rules. 87 87 88 88 2007-10-27 Bryan Kadzban <bryan@linuxfromscratch.org> 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 89 * 25-lfs.rules: Some rules in here are duplicates of rules from udev's 90 new 50-udev-defaults.rules file; remove them. Override permissions 91 where needed elsewhere (and document overrides in comments). 92 * 26-modprobe.rules: Provided by udev's 80-drivers.rules and built-in 93 modaliases for SCSI device-type modules in 2.6.22+ kernels; remove. 94 95 * 25-lfs.rules: Move to 51-lfs.rules. 96 * 27-firmware.rules: Move to 81-firmware.rules. 97 * 81-cdrom.rules: Move to 61-cdrom.rules. 98 99 * doc/25-lfs.txt: Rename to 51-lfs.txt. 100 * doc/26-modprobe.txt: Rename to 80-drivers.txt, and modify to reflect 101 the upstream rules. 102 * doc/27-firmware.txt: Rename to 81-firmware.txt. 103 * doc/81-cdrom.txt: Rename to 61-cdrom.txt. 104 105 * Makefile: Use new filenames. 106 106 107 107 2007-07-31 Dan Nicholson <dnicholson@linuxfromscratch.org> 108 109 110 111 108 * 25-lfs.rules: Changed the usb_device rule tto create /dev/bus/usb 109 nodes if the usb_device in 2.6.22+ kernels. The rule was also changed 110 to only trigger on "add" events. This change is not backwards 111 compatible with older kernels. 112 112 113 113 2007-06-12 Dan Nicholson <dnicholson@linuxfromscratch.org> 114 115 114 * 25-lfs.rules: Fix the CPUID nodes from cpu/%n/cpu to cpu/%n/cpuid, 115 which is what's expected in userspace apps such as x86info. 116 116 117 117 2007-06-08 Bryan Kadzban <bryan@linuxfromscratch.org> 118 119 120 121 122 2007-03-04 Matthew Burgess 123 124 118 * 25-lfs.rules: Add rules for DVB devices (create nodes in /dev/dvb/) 119 and floppies (create extra nodes based on CMOS type), copied from 120 the SuSE rules file. Thanks to Alexander Patrakov for the bugreport. 121 122 2007-03-04 Matthew Burgess <matthew@linuxfromscratch.org> 123 * Makefile: Use `udevd --version' to work out what version of Udev is 124 installed (requires Udev >= 106) 125 125 126 126 2007-01-02 Bryan Kadzban <bryan@linuxfromscratch.org> 127 128 127 * 25-lfs.rules: Change CPU devices (cpu, msr, microcode) to be in 128 /dev/cpu/ and /dev/cpu/N/, to match Documentation/devices.txt. 129 129 130 130 2006-10-21 Bryan Kadzban <bryan@linuxfromscratch.org> 131 132 133 134 135 136 137 138 131 * Makefile: Add a missing backslash in install-extra-doc. 132 133 * 05-udev-early.rules, 60-persistent-input.rules, 134 60-persistent-storage.rules, 95-udev-late.rules: Remove. The book 135 will install these files from udev's etc/udev/rules.d directory 136 instead. 137 * Makefile: Don't install these rules files after all. Also, only 138 install corresponding docs if requested. 139 139 140 140 2006-10-20 Bryan Kadzban <bryan@linuxfromscratch.org> 141 142 141 * Makefile: Added; contains targets to install rules and doc files. 142 From Dan Nicholson. 143 143 144 144 2006-10-14 Bryan Kadzban <bryan@linuxfromscratch.org> 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 145 * 05-udev-early.rules, 60-persistent-storage.rules: Sync up with 146 upstream sample rules files (from udev-102), except for one rule 147 which is more specific in our tarball and should probably be changed 148 upstream. 149 * doc/60-persistent-storage.txt: Modify to match the changes. Also 150 fix a couple typos. 151 152 * 25-lfs.rules: Remove duplicate rules (ttyS[0-9]* is also matched by 153 tty[BC...S...][0-9]*, and ttyUSB[0-9]* is in there twice). 154 155 * 25-lfs.rules: Fix Alsa device KERNEL rules. Udev uses shell-style 156 glob matching, not regular expressions, so the old rules would match 157 nonsense device names like hw0asdf and pcmDzxcv. As long as the first 158 character after the "fixed" portion was in the list, the rule would 159 match; it wouldn't apply the same character range to later characters. 160 161 * doc/25-lfs.txt: Add a note on interaction between permissions and 162 symlinks. 163 163 164 164 2006-10-09 Bryan Kadzban <bryan@linuxfromscrtach.org> 165 166 167 168 169 165 * 25-lfs.rules: Fix fb[0-9]* device permissions (should use the default 166 0660). 167 168 * doc/25-lfs.txt: Fix typo: /dev/ptmx is given mode 0666, not 0660. 169 Also tweak the comment about other TTY devices. 170 170 171 171 2006-10-04 Bryan Kadzban <bryan@linuxfromscratch.org> 172 173 174 175 172 * 05-udev-early.rules: Remove WAIT_FOR_SYSFS="bus" rule. With kernel 173 2.6.18, this rule is no longer required. 174 175 * doc/05-udev-early.txt: Update to match. 176 176 177 177 2006-09-28 Bryan Kadzban <bryan@linuxfromscratch.org> 178 179 180 181 182 183 184 185 178 * doc/60-persistent-storage.txt: Explain persistent storage rules, or 179 at least the parts I understand. (I don't use DASD or netblock or 180 several other supported configurations.) 181 182 * doc/81-cdrom.txt: Explain 81-cdrom.rules. 183 184 * doc/95-udev-late.txt: Explain 95-udev-late.rules. Documentation is 185 now finished. 186 186 187 187 2006-09-26 Bryan Kadzban <bryan@linuxfromscratch.org> 188 189 188 * doc/60-persistent-input.txt: Explain (in probably too much detail) 189 60-persistent-input.rules. 190 190 191 191 2006-09-24 Bryan Kadzban <bryan@linuxfromscratch.org> 192 193 194 195 196 192 * doc/05-udev-early.txt: Rewrap to fit 80 columns. 193 194 * doc/26-modprobe.txt: Explain 26-modprobe.rules, and modaliases. 195 196 * doc/27-firmware.txt: Explain 27-firmware.rules. 197 197 198 198 2006-09-24 Bryan Kadzban <bryan@linuxfromscratch.org> 199 200 201 199 * doc/25-lfs.txt: Explain 25-lfs.rules. 200 201 * 25-lfs.rules: Use SYMLINK+= for isdn/capi20 also. 202 202 203 203 2006-09-23 Bryan Kadzban <bryan@linuxfromscratch.org> 204 205 206 207 204 * doc: New subdirectory to contain documentation of rules 205 * doc/README: New file, top-level documentation 206 * doc/*.txt: New documentation files, one for each rules file. Only 207 05-udev-early.txt has anything in it. 208 208 209 209 2006-09-23 Bryan Kadzban <bryan@linuxfromscratch.org> 210 211 212 210 * 25-lfs.rules: Add "ignore_device" to OPTIONS for DRI devices, instead 211 of setting NAME to an empty string. This matches the way we ignore 212 devmapper / LVM devices. 213 213 214 214 2006-09-22 Bryan Kadzban <bryan@linuxfromscratch.org> 215 216 217 218 219 220 221 215 * 60-persistent-input.rules, 95-udev-late.rules: Import from udev-100. 216 60-persistent-input.rules creates persistent symlinks for input 217 devices, and 95-udev-late.rules enables udevmonitor. 218 219 * 60-persistent-storage.rules: Replace ATTRS{../removable} with just 220 ATTRS{removable} on partition devices. Replace ATTRS{removable} 221 with ATTR{removable} on whole-disk devices. 222 222 223 223 2006-09-20 Bryan Kadzban <bryan@linuxfromscratch.org> 224 225 226 224 * 05-early.rules: Missed a rule in the last change. ENV{PHYSDEVBUS} 225 in the rule that waits for the "bus" symlink should be replaced by 226 SUBSYSTEMS. 227 227 228 228 2006-09-20 Bryan Kadzban <bryan@linuxfromscratch.org> 229 230 231 232 233 234 235 236 237 238 239 229 * Adapted rules to the new matches used in udev-098 and above (e.g., 230 SYSFS becomes ATTRS). Prevents warnings, and support for the old 231 matches will be removed eventually. These rules will not work with 232 udev-097 and before! 233 * Fixed several bugs in the rules left over from previous udev 234 versions (missing commas, overwriting user symlinks using ="..." 235 instead of +="...", and matching against "*" instead of "?*"). 236 237 * Renamed CHANGELOG to ChangeLog, started using pseudo-GNU-format 238 entries. (See standards.info; search it for "changelog" to get 239 the general gist.) 240 240 241 241 dnicholson - Jul 14, 2006 242 243 242 * Fixed usbdev PROGRAM so that it works with the BusyBox sh. Thanks 243 to Anthony Wright. 244 244 245 245 n/a - Jul 12, 2006 246 247 248 249 246 * Added options so temporary nodes are not created with device-mapper 247 * Adapted cdrom rules to identify CD-ROM drives correctly by adding 248 SUBSYSTEM=="block" test. 249 * Added simple 81-cdrom.rules file to set cdrom group ownership 250 250 251 251 n/a - Jun 07, 2006 252 253 254 255 252 * Removed nvidia rules 253 * Removed bug reporting rule 254 * Moved Debian-based persistent CD-ROM rules to contrib 255 * Adapted firmware rule to udev-093 256 256 257 257 n/a - May 15, 2006 258 259 258 * Part one of 25-lfs.rules rewrite 259 * Some minor tweaking of the layout 260 260 261 261 n/a - May 12, 2006 262 263 264 262 * Initial import of the udev-config directory. 263 * Reorganized and modularized the rules files. 264 * Added explanatory comments -
udev-lfs/contrib/debian/write_cd_aliases
r84e1bb6 rc37e846 108 108 comment="$ID_MODEL ($ID_PATH)" 109 109 110 110 write_rule "$match" "cdrom$link_num" "$comment" 111 111 [ "$ID_CDROM_CD_RW" ] && write_rule "$match" "cdrw$link_num" 112 112 [ "$ID_CDROM_DVD" ] && write_rule "$match" "dvd$link_num"
Note:
See TracChangeset
for help on using the changeset viewer.