Pierre Labastie
7b7b5e9624
Various fixes for ICA
2020-04-02 09:56:51 +00:00
Pierre Labastie
0835a1065f
Two fixes:"
...
- use /etc/passwd to check whether LUSER exists
- use sudo -H -u $(LUSER) to be sure that HOME is set (depends on distro)
2020-04-01 09:11:32 +00:00
Pierre Labastie
04de9bc4db
Allow to find kernfs and chroot in any chapter
...
We use those files to generate code snippets to use in Makefile.
They used to be in chapter 6, but the new book will have some
of them in chapter 5.
2020-03-29 17:19:25 +00:00
Pierre Labastie
939731aa52
No need to prin DU from Makefile in LFS
...
We now print the disk usage from the scriptlet, so printing
again from the Makefile results in a duplicated line. Remove
the printing if book=lfs
2020-03-29 13:46:19 +00:00
Pierre Labastie
20e3fcdec2
Do not use a login shell for LUSER
...
Most books have something like "exec /bin/bash" in .bash_profile for the
building user. This results in stopping and waiting for commands when
running a a login shell. The current jhalfs way of removing .bash_profile is
suboptimal, since a user may want to login as $(LUSER) and expect that the
environment is set (without having to source .bashrc). So remove the
"-i" flag in "sudo -u $(LUSER) ..."
2020-03-29 12:58:06 +00:00
Pierre Labastie
a1795f0351
TRACKFILE should not contain LFS packages that are also in BLFS, ticket #1723
2019-09-25 07:50:45 +00:00
Pierre Labastie
085435e66f
Remove the obsolete vim-lang instructions and variable, and add non-wide-
...
charater ncurses library
2019-09-05 17:22:04 +00:00
Pierre Labastie
2c603d8caf
Fix a few missing bits of the transition to the new menu subsystem
2019-04-25 08:44:43 +00:00
Pierre Labastie
f596dde66c
Get rid of the GPLv2 license:
...
- Replace the menu system with the Kconfiglib, which has an ISC license
- Remove farce and any reference to it
- Rewrite the copyright notice, add the LICENSE files
- Adapt Config.in and a few other programs to the new menu system
2019-04-24 16:16:20 +00:00
Pierre Labastie
7fa93699d4
Fix a long standing bug in func_compare.sh:
...
The files in test-logs have the package version in their names
2019-04-24 15:07:04 +00:00
Pierre Labastie
72e9e684e7
Fix a long standing bug in func_check_version.sh:
...
Using the non existent dotSTR variable caused a ragged output.
Use the spaceSTR variable rather
2019-04-24 15:01:26 +00:00
Pierre Labastie
2758d9421e
Use sect1info for getting informations on LFS packages:
...
- add sect1info sections to packagemanager.xml.xxx + various fixes
- add templates in LFS/lfs.xsl for script start and script end:
- script start: define variables containing package information
print disk usage
unpack and change dir
- script end: print disk usage
remove build dir
- remove the corresponding operations from master.sh
2019-04-11 07:40:50 +00:00
Pierre Labastie
13c475babc
Get virtual kernel filesystem commands from the book, and really add
...
/run/systemd/resolve/resolv.conf after creating the kernel FS in chapter 6
2019-03-13 06:31:55 +00:00
Pierre Labastie
49ba78d711
Always display gcc's full version
2019-03-11 14:25:09 +00:00
Pierre Labastie
3b43e17bda
Generate console files:
...
- add variables LOCAL (y is hw clock set to local time) and LOG_LEVEL (sysv)
- generate /etc/sysconfig/console (sysv) or /etc/vconsole.conf (systemd)
- generate /etc/adjtime (only systemd)
- remove UNICODE and FONTMAP variables (jhalfs makes unicode default)
2019-03-09 08:11:37 +00:00
Pierre Labastie
90f5b6de2e
Remove obsolete blfs_tools dependencies
2019-03-09 08:02:10 +00:00
Pierre Labastie
399058f718
Python in func_check_version should be uppercase
2019-02-15 16:06:46 +00:00
Pierre Labastie
7a821947ad
Add version check for Python
2019-02-15 14:11:36 +00:00
Pierre Labastie
f168be19d5
Remove "-i" flags in kernel scriptlet
2019-01-02 20:57:01 +00:00
Pierre Labastie
94a78ddfa2
When installing BLFS tools, the database of installed packages is populated
...
with LFS pacakges. But packages installed only in tools should not be in
this database. As a side note, it would be cleaner to use an xsl stylesheet
for that.
2018-12-08 09:04:01 +00:00
Pierre Labastie
625cb147bd
Add possibility to automate bash shell startup files, vimrc, and rng.
...
This adds a new variable to the configuration (LANGUAGE).
Also automate the generation of various <replaceable> instructions
2018-09-28 14:35:46 +00:00
Pierre Labastie
c7b535b488
Remove the need to have write access to BUILDDIR, using sudi, which is
...
required anyway. ticket #1715
2018-02-03 16:37:32 +00:00
Pierre Labastie
1fa0dee15b
Prepend JH_ to exported variables in jhalfs-blfs, so that collision with
...
build system variables is unlikely
2018-01-30 13:53:34 +00:00
Pierre Labastie
84a3fda1c3
Do not optimize binutils-pass1 in order to measure the SBU:
...
- introduce REALSBU variable if Config.in and jhalfs, and display it
- Adpat LFS/master.sh
2018-01-14 10:26:43 +00:00
Pierre Labastie
2e1c1c3c16
Remove spaces at the end of lines
2018-01-13 09:08:56 +00:00
Pierre Labastie
dc7fd7b7ba
Add .la file removal to LFS and BLFS scripts
2018-01-12 19:04:19 +00:00
Pierre Labastie
5637b53ba7
override libelf->elfutils for getting the tarball name
2018-01-12 16:10:54 +00:00
Pierre Labastie
4b2a5fd304
Typos and removing useless instruction
2018-01-07 18:23:51 +00:00
Pierre Labastie
e3f4b9a4c1
Fix grepping for VERSION (func_install_blfs)
...
Add LFS-Release (update-lfs.sh and func_install_blfs)
2017-08-17 11:27:07 +00:00
Pierre Labastie
6d1d77c1e8
Improve the list of installed LFS packages:
...
Take package names and versions from <sect1info> tags in lfs-full.xml
2017-08-10 15:25:12 +00:00
Pierre Labastie
b8aa7ed93b
common/libs/func_install_blfs: Add LFS to BLFS tools
2017-08-09 14:10:46 +00:00
Pierre Labastie
340c27e8ae
common/libs/func_install_blfs:
...
Honour-variables-set-in-jhalfs
2017-08-09 13:47:45 +00:00
Pierre Labastie
203a64ca76
Allow a non numeric version in glibc
2017-07-11 16:21:26 +00:00
Pierre Labastie
9bbb9c83f3
Package management: compute times and sizes without packing times and sizes
2017-07-04 12:19:46 +00:00
Pierre Labastie
322226dbf8
Do not export the wrapInstall function when porg style is not in use
2017-07-04 12:17:11 +00:00
Pierre Labastie
45f8a9c86d
Forgotten quotes
2017-06-29 16:54:28 +00:00
Pierre Labastie
a4acb1236b
Quote bash variables in arguments to --stringparam for xsltproc
2017-06-29 14:10:30 +00:00
Pierre Labastie
cee84ade49
Copy the right files to SRC_ARCHIVE when "Retrieve source files" is on
...
and "Add blfs-tool support" is on: only $PACKAGE{,1} files were copied.
2017-04-10 08:34:27 +00:00
Pierre Labastie
945ccaa75e
Merge the new_features branch (manully, thanks to svn)
2017-04-09 10:29:32 +00:00
Pierre Labastie
de57ef4f16
Fix issue with clfs, when using
...
a tag in git, and not checking "Rebuild files": git pull fails because
the local repo is in "detached head" state.
- fix an issue with iputils patch in clfs-3.0.0
2017-04-01 11:05:15 +00:00
Pierre Labastie
5e59386c6d
Logging of the scriptlets generation had disappeared in the preceding
...
commit...
2017-03-27 19:10:38 +00:00
Pierre Labastie
0ad3a337f1
When choosing the LFS book, we should not depend on docbook-xml. This is achieved by directly treating the revision attribute in lfs.xsl, instead of using profiling from docbook-xsl.
2017-03-27 09:40:41 +00:00
Pierre Labastie
c67990fd77
Existence of package management files is tested even if PKGMNGT=n. Fix that. Thanks to Michael D.L. for reporting.
2017-03-25 21:00:16 +00:00
Pierre Labastie
9da16d9bf1
Fix a bug in the blfs scripts, occuring when the pacakge is neither a
...
tarball nor a zip file: copy the package from $SRC_DIR to the xxx-build dir.
And in case they are needed, copy the additional files too.
2017-03-19 16:17:18 +00:00
Pierre Labastie
3aa1acdc0d
Add checks for the files used by package management functions. Fix #1701
2017-03-19 14:54:28 +00:00
Pierre Labastie
2cf28dcaf1
Merge new_features r3922:
...
Add instructions to copy to SRC_ARCHIVE in func_install_blfs, so that files
are kept in host repo, and not downloaded again, should a new build be
started.
2017-03-16 13:40:18 +00:00
Pierre Labastie
85506da325
Merge new_features branch at r3901; Fixes:
...
when the user fstab and/or kernel config are the same as the ones in
$BUILDDIR/sources: avoid to cp on itself
- set SRC_ARCHIVE=/dev/null in BLFS tools download script if SRC_ARCHIVE is
empty
2017-03-05 08:38:09 +00:00
Pierre Labastie
67723e1682
merge new_features revision 3888
2017-02-27 17:33:46 +00:00
Pierre Labastie
f1fcb6b7a6
Merge r3879 from new_features branch
2016-11-24 16:52:03 +00:00
Pierre Labastie
26e6739b12
Add a forgotten switch REV=$INITSYS to the make command in BLFS tools,
...
so that the systemd revision be used when the LFS revision is systemd
2016-10-16 14:02:34 +00:00