858 Commits

Author SHA1 Message Date
adb80f189d Merge pull request #18 from bradfa/download-link-fixes
Download link fixes
2019-04-19 15:12:53 -04:00
e442f41b41 Update date 2019-04-19 15:09:09 -04:00
b2c890b2ef Update changelog 2019-04-19 15:08:57 -04:00
9f193d55f8 packages: Update embedded bootscripts download link
Closes #2
2019-04-19 15:05:52 -04:00
6c92614650 packages: Update MPC download link
As mentioned on the mailing list by akhiezer.

Closes #1
2019-04-19 15:00:52 -04:00
85a37be55d Merge pull request #17 from bradfa/travis-test
.travis.yml: Create
2019-04-19 14:53:48 -04:00
a0ccbabb2f .travis.yml: Create 2019-04-19 14:34:46 -04:00
dcf5785aaa Update date 2017-10-12 15:26:22 -04:00
05e0cf75e4 Update changelog 2017-10-12 15:26:22 -04:00
e3742c152e final-system: libc: Only install the libs into targetfs
By default some tools and headers would be installed using 'make
install' but we don't want any of those, we just need the libs.
2017-10-12 15:26:22 -04:00
8112a8d4ae cleanup: chowning: Remove mention of /var/run/utmp
We've previously modified the book to not create this file so no need to
chgrp it.
2017-10-12 14:55:26 -04:00
0b3adee12d cleanup: Remove copylibs section
It is no longer needed, we should already have all the libs we actually
need present in the targetfs/lib/ directory as we've been installing
them as we go.
2017-10-12 14:53:23 -04:00
adfc846ad6 beyond: dropbear: Add note that dropbear depends on zlib 2017-10-12 14:49:49 -04:00
faf50d8a16 beyond: zlib: Install into both cross-tools and targetfs
So that we have headers and libs all provided in the cross tools to
enable compiling things that use zlib but also so we have the runtime
shared object in the targetfs.
2017-10-12 14:15:58 -04:00
422ad1fe2f bootscripts: profile: Consistently use spaces around "<<" 2017-10-12 13:59:27 -04:00
0958ca9c41 final-system: Only build shared version of musl
We don't need libc.a in our targetfs, it's only needed in the
cross-tools as we won't ever run a compiler in the final system.
2017-10-12 13:54:27 -04:00
dd92ea4acf final-system: Add libgcc.so copying to targetfs
Since we're compiling applications to use shared libs, we need to
provide a copy of libgcc in the targetfs.
2017-10-12 13:50:57 -04:00
573e70c74b bootable/fstab: Remove / line
Bootloader will tell Linux where rootfs is, we have no other file
systems, so we can have an empty /etc/fstab.
2017-07-17 15:50:13 -04:00
81b4464973 final-system/creatingfiles: Remove utmp, wtmp, and btmp creation
musl doesn't properly support these files and we take them out of the
busybox config when building it, so don't create the files in the first
place.
2017-07-17 15:44:29 -04:00
e24b7ec7b0 final-preps/addinguser: Add notice that actions may need to be done by root 2017-07-17 15:28:39 -04:00
5d8ddbf652 materials/creatingbuilddir: Add 'sudo' usage as needed
In order to be consistent with later parts of the book which do use
'sudo' in the commands given, use 'sudo' here, too, as we need root
permissions usually to create a directory in /mnt/.
2017-07-17 15:28:32 -04:00
fc35affc5a packages: Switch GCC download link from ftp to http
The FSF provides all of what used to be hosted via FTP now also via HTTP
so use HTTP as all other downloads already use HTTP.
2017-07-17 14:23:29 -04:00
31fac76144 beyond/dropbear: Fix adventurous sentence structure
Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-07-05 08:40:25 -04:00
1a15276194 BOOK: s/BASEDIR/RENDERDIR/
As pointed out by akhiezer <lfs65@cruziero.com>, the BASEDIR variable
doesn't actually exist and the way it is used in the
documentation/comments means it is actually referring to the RENDERDIR
variable.
2017-06-30 14:32:23 -04:00
241f9a94bf Remove freshmeat references
Apparently freshmeat.net is no longer (for some time), so remove all
references to it.

Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-05-10 10:37:58 -04:00
cc565e2715 cross-tools/gcc: Put configure build/host/target options in alpha order
To be consistent.

Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-05-04 14:44:55 -04:00
2ac72a8153 bootscripts/profile: Fix typo
Thanks to akhiezer <lfs65@cruziero.com> for pointing this typo out.
2017-05-04 14:42:19 -04:00
06c81a1a7c bootable/kernel: Fix 'without' typo
Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-05-01 12:44:55 -04:00
40d238ab7c final-syste/busybox: Fix Note about menuconfig grammar
Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-05-01 12:43:45 -04:00
8704f34393 cross-tools/binutils: Cleanup --target= description
Thanks to akhiezer <lfs65@cruziero.com> for pointing out that this was
unclearly referring to a --host= when we simply rely on the inferred
finding for --host= and --build= as both will be the host machine.
2017-05-01 10:47:03 -04:00
83a31c36ae final-system/creatingdirs: Update FHS link
Seems the Linux Foundation hosts the newer revisions of the FHS.  Thanks
to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-05-01 10:44:06 -04:00
73d79973ec bootscripts/inittab: Fixup ttyS0 getty comment for clarity
Thanks to akhiezer <lfs65@cruziero.com> for pointing out the incorrect
version of 'your' being used.
2017-04-28 13:50:04 -04:00
2d6f66baae final-system/busybox: Clarify and commonize depmod.pl install
Clarify that the host needs be able to run depmod and then when
installing depmod to cross-tools, use verbose options so we get a nice
printout of what's done like every other time we use cp or chmod.
2017-04-26 06:00:15 -04:00
a67ab5796e final-system/busybox: Always put 'make' at the start of the command line
This tells make to set these internal to it variables rather than having
the shell set the variables and then launch make.  This is slightly
safer and works correctly.
2017-04-26 05:57:19 -04:00
7f6542c9d0 final-system/introduction: Clarify parallel compiling concern
Using 'make -j 2' is OK, compiling busybox and musl at the same time is
not.
2017-04-26 05:56:43 -04:00
b74d39b809 final-system/creatingfiles: s/Udev/BusyBox/ as we don't use udev
BusyBox dictates our user and group needs, not udev, we don't use udev.
2017-04-26 05:43:04 -04:00
e1ede421a9 cross-tools/libc: Remove defining CC variable
Since we now specify CROSS_COMPILE, musl's configure and Makefile setup
will correctly define CC for us, no need to specify it ourselves.
2017-04-21 06:41:27 -04:00
82ad5902eb cross-tools/sysroot: Change section title to say Cross Tools
Since we actually create 2 different sysroot directories, we should be
clear that this one is for the cross tools sysroot.
2017-04-21 06:21:01 -04:00
e065f44f41 materials/creatingbuilddir: Mention possible need to be root
Just so that people have a heads up about this.
2017-04-21 06:12:47 -04:00
ccc6724689 beyond/wireless_tools: Fix lack of space after comma typo
Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-04-19 08:37:23 -04:00
6590da60c3 final-sys/creatingfiles: Remove duplicate "is" typo
Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-04-19 08:37:22 -04:00
c4d9f4b2e9 final-sys/creatingdirs: Create /var/tmp
There is a description of the permissions set for /var/tmp but it is not
actually created, nor does it have its permissions set to match the
description.  Fix this so that the actions match the description.

Thanks to akhiezer <lfs65@cruziero.com> for pointing this out.
2017-04-19 08:37:12 -04:00
e1348bba3d preface: Fix BusyBox typo 2017-04-14 06:23:29 -04:00
1f12b5df90 packages.ent: Update Linux to v4.9.22
Latest stable longterm release.
2017-04-14 06:20:11 -04:00
4d9350dee0 final-system: Create new section to install musl, again
This time it installs into the targetfs sysroot, as we've told the
compiler and linker to use the targetfs sysroot for their header and
library search needs.
2017-04-14 06:17:31 -04:00
1dfe239904 cross-tools/toolchain: Use --sysroot= for CC, CXX, and LD
This allows the compiler and linker to use the targetfs directory
structure as the sysroot for compiling but will mean that we have to
build musl one more time in the final-system chapter.
2017-04-14 06:07:36 -04:00
a3957dd881 cross-tools: Create a targetfs dir
Do this before we set the toolchain variables for the clfs user in their
.bashrc file so that we can pass the "--sysroot=" option to use this
targetfs dir as the root file system for compiling.

We will need to install musl into the targetfs in a future commit.
2017-04-14 05:56:58 -04:00
a5d6c23771 packages.ent: Update musl to version 1.1.16 2017-04-14 05:48:26 -04:00
5a5d7ef545 libc: Use CROSS_COMPILE to use cross-binutils
As reported by selk on IRC.

Without setting the CROSS_COMPILE variable, potentially the host's
binutils may be used.  Usage of CC is also needed, so is kept.
2017-04-14 05:43:42 -04:00
173cc96fc1 Update date. 2016-12-28 22:57:19 -05:00