Commit Graph

684 Commits

Author SHA1 Message Date
Denis 'GNUtoo' Carikli 514c573b4d
download: improve help.
This commit corrects linelength (this should have no functional impact)
and adds exit codes

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
neox: wrote the commit message
2023-12-06 17:32:01 +01:00
Denis 'GNUtoo' Carikli c410023ea3
update: improve help.
This commit corrects linelength (this should have no functional impact)
and adds exit codes

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
neox: wrote the commit message
2023-12-06 17:31:41 +01:00
Denis 'GNUtoo' Carikli a945fa8e15
modify: improve help.
This commit corrects linelength (this should have no functional impact)
and adds exit codes

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
neox: wrote the commit message
2023-12-06 17:31:21 +01:00
Denis 'GNUtoo' Carikli 57050c2985
build: improve help.
This commit corrects linelength (this should have no functional impact)
and adds exit codes (sysexit.sh)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
neox: wrote the commit message
2023-12-06 17:30:41 +01:00
Denis 'GNUtoo' Carikli 5d2405eb2e
packages: grub: payload: cleanup line length and whitespaces.
This should contain no functional modifications.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
neox: wrote the commit message
2023-12-06 17:14:34 +01:00
Denis 'GNUtoo' Carikli fe28bc3c82
dependencies: move into single package.
Having an {arch,debian,fedora35,ubuntu2004,void} GNU Boot package
looked strange. Having a dependencies package instead makes more
sense.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:14:30 +01:00
Denis 'GNUtoo' Carikli 857afa42a8
Switch to packages structure.
The various build scripts are scattered around in multiple
places. This make it hard for contributors to understand what they
need to modify.

Most GNU Boot users are interested in running GNU/Linux or BSD
operating systems. And the way to install software on these
operating systems is through a package manager. So most users and
contributors already know the package manager abstraction.

So using that abstraction makes it easier to find where things are.

The scripts to install dependencies don't really fit the new structure
but for now we move them in to make sure that everything works
fine. This could be fixed later on and migrated to a single
dependencies packages by auto-detecting the distribution with
/etc/os-release.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:14:14 +01:00
Denis 'GNUtoo' Carikli 12a200fc18
build: rename mode(s) to task(s).
Most GNU Boot users are interested in running GNU/Linux or BSD
operating systems. And the way to install software on these
operating systems is through a package manager. So most users and
contributors already know the package manager abstraction.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:13:59 +01:00
Denis 'GNUtoo' Carikli c9b194409d
update: rename mode(s) to package(s).
Most GNU Boot users are interested in running GNU/Linux or BSD
operating systems. And the way to install software on these
operating systems is through a package manager. So most users and
contributors already know the package manager abstraction.

So referring to packages instead of options makes it easier to
understand what the script is doing.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:13:41 +01:00
Denis 'GNUtoo' Carikli f85c91beab
modify: rename mode(s) to package(s).
Most GNU Boot users are interested in running GNU/Linux or BSD
operating systems. And the way to install software on these
operating systems is through a package manager. So most users and
contributors already know the package manager abstraction.

So referring to packages instead of options makes it easier to
understand what the script is doing.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:13:25 +01:00
Denis 'GNUtoo' Carikli a77228d7af
download: rename program(s) to package(s).
Most GNU Boot users are interested in running GNU/Linux or BSD
operating systems. And the way to install software on these
operating systems is through a package manager. So most users and
contributors already know the package manager abstraction.

So referring to packages instead of options makes it easier to
understand what the script is doing.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:13:08 +01:00
Denis 'GNUtoo' Carikli 37800705ab
build: rename option(s) to package(s).
Most GNU Boot users are interested in running GNU/Linux or BSD
operating systems. And the way to install software on these
operating systems is through a package manager. So most users and
contributors already know the package manager abstraction.

So referring to packages instead of options makes it easier to
understand what the script is doing.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 17:12:32 +01:00
Denis 'GNUtoo' Carikli 23981d7096
update: whitespace and line length cleanups.
This should contain no functional modifications.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:06:18 +01:00
Denis 'GNUtoo' Carikli 9c5a04ba47
modify: whitespace and line length cleanups.
This should contain no functional modifications.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:05:51 +01:00
Denis 'GNUtoo' Carikli ec100eee05
download: whitespace and line length cleanups.
This should contain no functional modifications.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:05:35 +01:00
Denis 'GNUtoo' Carikli 36bcf70f76
build: whitespace and line length cleanups.
This should contain no functional modifications.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:05:03 +01:00
Denis 'GNUtoo' Carikli 0a2448480f
coreboot/fam15h: Remove nonfree microcode (missing source code).
While that microcode is licensed under a permissive free software
license we don't have any corresponding source code, so until someone
produces that source code we need to treat it as nonfree software.

This issue was introduced by the commit the
f7c0fec698 ("coreboot/fam15h: update
code base, deblob, unset CONFIG_STM (see bug #64535)") and is also
present in GNU Boot 0.1 RC1.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:02:07 +01:00
Denis 'GNUtoo' Carikli b8d22803ed
coreboot: blobs.list: sort files alphabetically.
The files were sorted with the sort command.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:01:17 +01:00
Denis 'GNUtoo' Carikli e9948c1202
computers: add QEMU PC.
The configuration is based on the one in resources/coreboot/x60/.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 16:00:15 +01:00
Denis 'GNUtoo' Carikli 6da6d7fa64
coreboot: Remove CONFIG_USE_BLOBS=y.
In coreboot this build option is used to download nonfree software so
they can be included later on in the builds.

It doesn't necessarily means that nonfree software ends up in the
images but it is way easier and safer to disable that than having to
audit precisely what happen for each computer and build configuration.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Full build tested on PureOS.
Tested-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-06 15:57:33 +01:00
Adrien Bourmault 9584465eb8
site/download.md: fix bad gpg key for neox
This commit replaces the GPG fingerprint of neox, since it has been revoked
and replaced by a new one.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-11-30 18:51:52 +01:00
Adrien Bourmault 1d227b90c4
site/sitemap.include: replace old site name with project name
Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-11-30 18:51:37 +01:00
Adrien Bourmault e4d60c72d3
website-build/README: fix ssh configuration for deployment
The previous configuration was more complicated and required two steps each
time one tried to deploy the website. The new configuration makes use of
the ProxyJump feature to allow deploying in only one step.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
GNUtoo: fixed line over 80 characters.
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-11-30 18:51:22 +01:00
Adrien Bourmault 1c4afd39ca
site/license.md: corrected project name
Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-11-17 11:42:21 +01:00
Denis 'GNUtoo' Carikli 81ef84a583
site: remove who.md
The information on who maintains GNU Boot is already in git.md, and
having duplicate information increase maintenance costs, here for no
known benefits.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-17 11:41:50 +01:00
Adrien Bourmault d83cc3211a
Delete unrelated GPG keys
Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-11-17 11:41:21 +01:00
Denis 'GNUtoo' Carikli 92d433d721
site: git.md: clarify how patches are accepted.
We add that information in "Send patches & contribute" as contributors
also need to understand the workflow, to know if their patch is being
accepted, if they need to do something special or not, need to wait,
etc.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-17 11:40:53 +01:00
Adrien Bourmault 10a1571f73
Reworked download.md, gpg keys from maintainers and FTP server
GNUtoo: removed update about static linking
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-17 11:39:59 +01:00
Denis 'GNUtoo' Carikli f662680ea9
scripts: download: ich9utils: remove "Get flashrom" leftover.
The script isn't related to flashrom. The comment was already in the
first lbmk commit 89517ed6b9
("libreboot!") which was based on osboot and at the time it didn't
contain any flashrom related code either.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-17 11:39:16 +01:00
Denis 'GNUtoo' Carikli cabc1cac08
website-build: avoid unnecessary git fetch
When we already have the right untitled revision checked out, we don't
need to try to fetch its revision again. This also enable offline
builds in that case.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-17 11:38:00 +01:00
Adrien Bourmault e3de822f48
site: template.include: Add a link to our Savannah forge
The 'TODO' link was pointing to an old page that is currently not up-to-date
so this commit replaces that link by another, to the Savannah forge main page.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-17 00:00:59 +01:00
Adrien Bourmault c9eac382a1
site: template.include: Fix link to bug reports
The 'Bugs' link in the template was pointing to the old bug reporting page of
our previous project. This commit makes it pointing to the Savannah bug
reporting system used by GNU Boot.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-16 23:56:38 +01:00
Denis 'GNUtoo' Carikli bfe6b0c2ac
Deploy the website on https://gnu.org/software/gnuboot/.
Since we now have a very visible banner that indicates which pages
have been not been reviewed, and contribution instructions on how to
fix that, we are ready to publish the website.

Right now the deploy path of the website isn't configurable as this
would require some form of templating or processing of the markdown
files, so the website was simply moved from
gnu.org/software/gnuboot/test to gnu.org/software/gnuboot.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-16 23:56:06 +01:00
Denis 'GNUtoo' Carikli 09fac4ee4b
site: warning banner: make it more visible
This uses a black background and white text which is the opposite of
the default theme. By using black and white, this also makes sure that
color blind people can still see the banner.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:24:28 +01:00
Denis 'GNUtoo' Carikli 4d4518a06a
site: send patches: Update the "Name not required" section.
GNU Boot might have to send some of the patches upstream so we can't
have a policy that applies to everything unless we also look into
upstream projects and GNU policies as well.

In addition we might need multiple ways to satisfy upstream
constraints to fit different needs / compromise from people wanting to
contribute anonymously.

And as the problem raised here is more global it is better to have a
more global answers and find ways that also work with upstream projects
as well.

Being a GNU project, GNU boot would also need to look into the GNU
policies on the topic and also try to see if for instance the FSF
copyright assignements could also be used in some cases to fix that
issue.

There are also other things worth looking into as well. For instance
Software Conservancy also handles copyright assignments and Asahi Lina
that contributes anonymously to the Linux kernel while satisfying
their very strict policy about tracking copyright ownership.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:22:27 +01:00
Denis 'GNUtoo' Carikli 722ed394a3
site: send patches: Fix mailing list for reporting test success/failure
It makes more sense to report test success / failure to the bug
mailing list because there are already similar reports in our bug
tracking system and also because this doesn't need to send any
patches.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Reported-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:20:06 +01:00
Denis 'GNUtoo' Carikli c8a8444621
site: clarify maintainer status.
In Parabola, the libreboot-utils and various u-boot packages needed
Libreboot as it was providing deblobbed source releases of Coreboot
and u-boot.

Because of that and also because I need also deblobbed u-boot for Guix
and Replicant, I ended up being involved in Libreboot.at and then GNU
Boot.

However the Replicant project also needs my help, so when joining
Libreboot.at and then GNU Boot I mostly wanted to have a project I
could rely on and be able to easily send patches to it.

So the idea was that once the project would be in a good shape I would
reconsider if I still needed to be a maintainer and try to see if new
contributors wanted to replace me (to have more than one maintainers)
and then go back sending patches from time to time as a regular
contributor to have more time for other projects.

This is why we used the word "interim" at the beginning: I was not
sure (and still am not sure) to want to stay maintainer of GNU Boot
forever. Adrien however has other plans.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:19:22 +01:00
Denis 'GNUtoo' Carikli bc4dc9d81a
site: move status right after the project description.
People probably want to have first a very short description of the
project and then its status before knowing the project history.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:17:36 +01:00
Denis 'GNUtoo' Carikli 413308f7a7
site: Add project status on the main page and move contribution information.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:12:57 +01:00
Adrien Bourmault 36f0250aac
README.md: use less harsh language in the project description (bug #64661)
This commit addresses a problem in the wording of our project description
(in the Savannah description and in this README.md).

The project description was re-written from scratch by GNUtoo and this
commits import it unmodified from Savannah[1]. It is also released by
GNUtoo under the following license:
    Copyright (c)  2023  Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>.
    Permission is granted to copy, distribute and/or modify this document
    under the terms of the GNU Free Documentation License, Version 1.3
    or any later version published by the Free Software Foundation;
    with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    A copy of the license is included in the section entitled "GNU
    Free Documentation License".

[1]https://savannah.gnu.org/projects/gnuboot

Reported-by: Patrick Georgi <oxygene>
Neox: import, commit message apart from the copyright information.
GNUtoo: copyright information, whitespace fixes.
Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-15 12:12:29 +01:00
Denis 'GNUtoo' Carikli adc578ae49
site: license.md: fix x-reviewed.
For some reasons having both 'x-reviewed: true' and 'x-toc-enable:
true' results in having the following content on the top-right of the
page:
    title: Code
    review
    x-toc-
    enable:
    true
    x-reviewed:
    true
    Return to
    index
    …
    GNU Boot
    repositories

Since using the Untitled static website generator is meant to be
temporary, fixing this issue is not a priority right now.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:47:41 +01:00
Denis 'GNUtoo' Carikli 1ed30528c1
site: footer.include: Fix links when in subdirectories.
If we are in test/web the links work fine but if we go in
test/web/docs/, the links are relative to the current page and stop
working.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:46:54 +01:00
Denis 'GNUtoo' Carikli a1fd263021
site: template.include: Fix links when in subdirectories.
If we are in test/web the links work fine but if we go in
test/web/docs/, the links are relative to the current page and stop
working.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:46:30 +01:00
Denis 'GNUtoo' Carikli 87770e7482
site: git.md: update contribution instructions.
For some reasons having both 'x-reviewed: true' and 'x-toc-enable:
true' results in having the following content on the top-right of the
page:
    title: Code
    review
    x-toc-
    enable:
    true
    x-reviewed:
    true
    Return to
    index
    …
    GNU Boot
    repositories

Since using the Untitled static website generator is meant to be
temporary, fixing this issue is not a priority right now.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:46:03 +01:00
Denis 'GNUtoo' Carikli ccb5c6fe49
site: git.md: fix typo.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:45:45 +01:00
Denis 'GNUtoo' Carikli cd6514123b
site: git.md: fix privacy issue.
Using simply 'git log' or 'git show' shows the author but not the
commiter.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:45:29 +01:00
Denis 'GNUtoo' Carikli 27ddd0fd8e
Fix website <title></title>.
The new untitled revision has a fix for having spaces inside the
website title.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:45:07 +01:00
Denis 'GNUtoo' Carikli 20d122e94a
website-build: use website from local git repository.
Before we needed to fetch the website from git because it was in a
separate repository.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:44:50 +01:00
Denis 'GNUtoo' Carikli 399360485d
website-build: build.sh: i="$(expr "$i" + 1)": fix double quote.
Without that fix, we end up with 'Fix SC2086 (info): Double quote to
prevent globbing and word splitting.' shellcheck warnings.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:44:35 +01:00
Denis 'GNUtoo' Carikli 4b122e8989
website-build: build.sh: fix missing double quote in $i comparison.
Without that fix, using shellcheck on this file results in several warning
like this one:
    In website-build/build.sh line 101:
    			if [ $i -ge $# ] ; then
                                 ^-- SC2086 (info):
				 Double quote to prevent
				 globbing and word splitting.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-12 01:44:18 +01:00