Jörg Deckert
804560ea06
use labels to create fstab
...
use swap partition if available
update python (3.11)
fix fetching stage3
2023-06-02 18:02:49 +02:00
Jörg Deckert
774bb51363
fix gentoo github url
2023-05-30 19:45:23 +02:00
Jörg Deckert
70866fcfda
switch mkova.sh parameters
2022-03-01 08:53:55 +01:00
Jörg Deckert
0709757051
better locale.gen handling, handling of kernel modules temporarily disabled
2022-01-19 12:03:55 +01:00
Jörg Deckert
0f910b5251
builds the kernel separately to avoid having to rebuild it for any appliance
2021-05-22 19:53:34 +02:00
Jörg Deckert
b2d2b0265f
fix make.conf.local
2021-02-08 19:12:27 +01:00
Jörg Deckert
d8998bcf46
fix creation without default appliance
2021-02-08 09:46:23 +01:00
Jörg Deckert
38424c532b
allowing the use of a default appliance
...
An appliance with the name "default" can be created,
and its configuration is used as the basis for all
other appliances.
2021-02-07 18:31:01 +01:00
Jörg Deckert
f7c9fa17ca
use additional overlays/repositories
2021-02-05 20:45:54 +01:00
Jörg Deckert
8bacd765d0
allow the creation of ova images
...
requires open-vmdk, a gentoo ebuild is available here:
https://git.unitas-network.de/Gentoo/unitas-misc/src/branch/master/app-emulation/open-vmdk
2021-02-05 16:41:23 +01:00
Jörg Deckert
abc5c6d49b
allow switching between vmdk images with IDE or SCSI controller
2021-02-05 16:35:27 +01:00
Jörg Deckert
ddcb8119f3
fixes to avoid lots of error messages
...
- disable cgroups portage feature
- allow CAP_NET_ADMIN for the use of systemd-nspawn
(https://github.com/systemd/systemd/issues/13308 )
2021-02-05 16:09:03 +01:00
Jörg Deckert
ac02aab8d1
fix copy of configs/locale.gen
2021-02-05 15:49:58 +01:00
Jörg Deckert
0bb05a4850
new gentoo portage locations
2021-02-05 13:27:21 +01:00
Jörg Deckert
0e4af5c157
update profile to 17.1
2021-02-05 13:05:58 +01:00
Jörg Deckert
dea00e187e
stage3 tarball is now an xz archive
2021-02-05 12:27:13 +01:00
Albert Hopkins
b798561898
Numerous updates:
...
* Exclude some files from the stage3 tarball to be installed in the chroot.
This reduces the number of etc-updates that need to be process.
* Manually eselect profile. This is needed now because /etc/portage/make.profile
is excluded above.
* Use m4 and a template (in file) to create /etc/fstab instead of using sed.
* Add a "software" target. This is mainly used for development.
2018-12-08 16:12:33 -08:00
Albert Hopkins
d3d3439e4c
Makefile: remove ACCEPT_KEYWORDS support.
...
I don't use this and no longer want to maintain it.
2018-12-07 21:24:18 -08:00
Albert Hopkins
cb8529f7ea
Makefile: remove orphan dependency.
2018-12-01 23:56:25 -08:00
Albert Hopkins
6ba642f7c1
Makefile: fix broken recipe.
...
The make.conf.recipe was COPYing the file to the wrong location. Fixed.
2018-12-01 23:55:54 -08:00
Albert Hopkins
5794a0ca0e
Remove some lines accidentally added in bfa6927
2018-12-01 20:59:49 -08:00
Albert Hopkins
b4b167b462
refactor how /etc/portage files are handled
2018-12-01 20:46:12 -08:00
Albert Hopkins
e27e008c47
Makefile: EMERGE variable tweaks
...
Don't (need to) use the full path and make --jobs argument smarter.
2018-10-27 12:01:37 -07:00
Albert Hopkins
240e11bcfc
Makefile: remove scripts/ as it is now in PATH
2018-10-27 11:54:21 -07:00
Albert Hopkins
2e425341c3
Makefile: One more echo/print change
2018-10-27 11:49:42 -07:00
Albert Hopkins
dea0b10abe
Makefile: One more cp/COPY change
2018-10-27 11:49:17 -07:00
Albert Hopkins
443f78a5bd
scripts: rename echo to print
...
I don't want to clash with /bin/echo but I want to remove "/scripts" from
the Makefile since it's now in the PATH.
2018-10-27 11:43:45 -07:00
Albert Hopkins
9ed67885c6
A couple more cp/COPY $(inroot)/RUN replacements
2018-10-27 11:25:29 -07:00
Albert Hopkins
5a96cc75a1
scripts: add COPY and RUN helpers.
...
Makes the Makefile easier to write and the output a little nicer. Inspired
by a similar tool ;-)
2018-10-27 11:04:00 -07:00
Albert Hopkins
d854fe287d
Makefile: remove unexports
...
They're not overwriting portage environment variables anymore because
they've been renamed.
2018-10-26 23:27:39 -07:00
Albert Hopkins
fe6a9b46fb
s/PKGDIR/VA_PKGDIR/
2018-10-26 23:26:16 -07:00
Albert Hopkins
cac3d36946
s/ARCH/VA_ARCH/
2018-10-26 23:24:05 -07:00
Albert Hopkins
4a591cdf3a
switch over to GRUB 2
...
The GRUB 1 configuration hasn't been working in a while and-- let's face
it-- it's time. So now we have GRUB 2.
It should still work with a serial console though I haven't tested it yet.
2017-05-27 22:13:01 +00:00
Albert Hopkins
18fdbb86ea
Makefile: perform the change-password step in the stage4 phase
...
This should really happen as late as possibly and possibly not at all. If
we change (lock) the password too soon, then some build steps can fail.
For example, adduser will fail if root needs to change its password first.
2016-12-08 11:57:41 +00:00
Albert Hopkins
4423189dba
Makefile: run "postinstall" as late as possible
...
This is in case the "postinstall" step wants to override something that the
software target did.
2016-12-06 02:32:58 +00:00
Albert Hopkins
7a54cf9e1c
Makefile: remove "latest" from stage3 tarball name.
...
Because it's not always the latest :P
2016-08-07 10:53:09 +00:00
Albert Hopkins
be9f75a457
scripts: replace kernel.sh with build-kernel
...
This newer script is Python-based and smarter than the bash script.
2016-07-24 15:08:27 +00:00
Albert Hopkins
81b7e1cd1b
Makefile: assume we're using the systemd stage3
...
So that means we don't have to uninstall eudev and replace it with systemd.
Also apparently we need to set the machine-id as it doesn't appear to exist
in the stage3 and I think installing systemd (which we don't do anymore)
does it for you.
2016-07-23 21:16:26 +00:00
Albert Hopkins
b1aab65861
Makefile: don't eselect profile
...
Since we're now pulling in the systemd stage3s presumably the profile is
set correctly in the stage3.
2016-07-23 21:14:14 +00:00
Albert Hopkins
5d1b56c692
scripts: replace sync-stage3.sh with fetch-stage3
...
This new script is smarter and more powerful. The only drawback is that
instead of rsync it uses HTTP.
2016-07-23 21:11:49 +00:00
Albert Hopkins
9e1441231f
Makefile: remove commented out code
2016-07-23 11:33:02 +00:00
Albert Hopkins
d48248ca46
Makefile: s/udev/eudev/
...
Apparently Gentoo no longer supports the no longer supported split udev
and replaced it with eudev in their stage3s.
2016-03-17 18:45:58 +00:00
Albert Hopkins
59eac8da06
Makefile: shell: make a quieter
...
So that the user can see the instructional messages better.
2016-03-10 20:10:24 +00:00
Albert Hopkins
e867f3cf2e
Makefile: use the git repo for the PORTAGE_DIR
...
Now more rsync'ing snapshots. We can just clone/pull the repo on github.
2015-12-17 21:25:59 +00:00
Albert Hopkins
45f3ee7a75
Makefile: use /var/tmp instead of /tmp
...
systemd (by default) opens with a clean /tmp, so copying a file into it
will get cleared out (it's a tmpfs mount).
2015-12-17 21:25:03 +00:00
Albert Hopkins
899184e1ec
Makefile: fix typo
...
The line that was including the appliance-specific config had a typo. The
typo was overlooked all this time because no appliance really uses this
feature. Until now...
2015-12-11 01:15:10 +00:00
Albert Hopkins
e73c7cebb5
Makefile: shell: remove /root/.bash_history on exit
...
So not to pullute the history in the appliance.
2015-12-10 17:17:50 +00:00
Albert Hopkins
43408fc986
Makefile: print some helpful status messages
2015-12-10 17:17:21 +00:00
Albert Hopkins
ae1b17132e
Makefile: add a "shell" target
...
This will put you at a shell prompt inside the build environment. Why
didn't I think of this before?!
2015-12-09 18:15:09 +00:00
Albert Hopkins
9eb8ceeb06
Set the locale
...
By default it's set to en_US.utf8
2015-09-26 20:57:49 +00:00