Commit graph

608 commits

Author SHA1 Message Date
Jorge Manuel B. S. Vicetto (jmbsvicetto) d240a6ee93 Drop package_license from the stages portage_confdir.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-05-30 12:20:58 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 69c0e1ff7e Move the package.license file to a dir, so the isos / stage4 don't fail on unpack.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-05-30 12:16:27 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) ddb6ca8096 Drop old commented cdtar line.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-05-29 19:26:44 +00:00
Ben Kohler 28260bbd66
portage/isos/savedconfig: update linux-firmware file list
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-29 14:25:58 -05:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) d3984bb413 Require jit use flag for dev-libs/libpcre2 as that's preventing git from building for the admin-cd (x86).
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-05-29 18:40:37 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 0a4b35c169 Drop old package.use files that are no longer needed or are redundant.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-05-29 18:37:34 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 5441dcb66c We also need the license file for stage4's kernel build.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-05-29 09:51:21 +00:00
Ben Kohler fd1479bfed
portage/isos: allow @BINARY-REDISTRIBUTABLE via package.license
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-24 09:10:15 -05:00
Ben Kohler 59323141bc
kconfig/sparc: add PCI_MSI
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-24 06:59:32 -05:00
Ben Kohler f0c94b6607
specs: add portaudio support for espeakup
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-22 16:46:39 -05:00
Ben Kohler 08aae285c6
specs: add sys-kernel/linux-firmware to livecd-stage1s
This needs to be explicitly emerged so that it's not depcleaned later
after genkernel removal.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-22 16:12:46 -05:00
Ben Kohler 41cb23d97e
specs: add USE=alsa on livecd-stage1s for espeakup
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-22 12:56:26 -05:00
Ben Kohler 88db5d9d57
specs: clean out unneeded kernel/packages & kernel/use
None of the packages we have in boot/kernel/gentoo/packages actually
need to be build after the kernel or per-kernel.  The ones we want to
keep installed should be moved to livecd/packages in livecd-stage1.  I
have dropped sys-kernel/linux-firmware since it's already a dependency
of genkernel.

Since there will be no additional packages installed from
boot/kernel/gentoo/packages, we do not need boot/kernel/gentoo/use at
all either.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-05-22 12:56:24 -05:00
Matthew Thode 20f098ddb3
add decompressor_search_order to stage4 specs 2019-05-22 09:52:08 -05:00
Matthew Thode a11c06701a
switch to xz for stage4 2019-05-21 18:21:17 -05:00
Ben Kohler 70e0cb9a30
specs/sparc/installcd: use new kconfig for 4.19.44 2019-05-21 11:06:11 -05:00
Ben Kohler fc0dad9641
kconfig/sparc/installcd: new config for 4.19.44 with SUN_LDOMS support
Update kconfig for 4.19 series.  Re-add SUN_LDOMS support, which was
previously breaking builds on gcc-8.  Build doesn't fail if
CC_OPTIMIZE_FOR_PERFORMANCE is set.
2019-05-21 11:05:08 -05:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) c1a4ecf694 Drop app-crypt/bcwipe from the admin-cd specs as it seems we can't distribuite it - bug 683956.
Thanks to Ulrich Müller <ulm@gentoo.org> for pointing out the licensing issue.
Bug: http://bugs.gentoo.org/683956
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-04-21 13:22:32 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) fc75a7c368 Drop net-analyzer/gnu-netcat as it was removed from the tree.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-04-17 14:11:12 +00:00
Matt Turner a8a5572715 specs/hppa: Switch installcd to python3.6
Packages are starting to drop python2.7 support, causing build failures
if no python3 implementation is selected.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-03-24 10:41:24 -07:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) dbd150f6ee
Replace net-analyzer/netcat6 with net-analyzer/openbsd-netcat
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-03-16 23:53:00 -01:00
Ben Kohler eddcc9b1ed
portage/isos/savedconfig: update linux-firmware file list
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-03-05 18:09:29 -06:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) c7d5ff896e Drop the livecd/cdtar commented out lines (clean-up).
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2019-02-28 19:22:43 +00:00
Matthew Thode 035af9dd0a
add gentoo-keys to stage4 and set PORTAGE_GPG_DIR
Signed-off-by: Matthew Thode <mthode@mthode.org>
2019-02-20 11:35:09 -06:00
Ben Kohler 816c4738fd
Revert "sparc/*.spec: try using pixz again"
This reverts commit 201bf77489.

This didn't work so well yet.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-31 14:20:11 -06:00
Ben Kohler 201bf77489
sparc/*.spec: try using pixz again
Built a 64bit pixz binary & put it on totoro for autobuilds.  We should
be able to pixz compress w/o memory issues now.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-31 13:21:52 -06:00
Ben Kohler 7bd7dd0235
s390x/netboot: fix package.use entry for genkernel/util-linux
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-29 11:29:09 -06:00
Ben Kohler 5e1615162e
kconfig/sparc/installcd: add PRINTK_TIME
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-22 10:04:14 -06:00
Ben Kohler 25d34d5588
sparc-installcd: add usbutils, remove commented/unkeyworded acpid
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-12 08:25:52 -06:00
Ben Kohler daa362cb19
installcd-stage2-minimal.spec: cdtar must be bz2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-09 07:39:25 -06:00
Ben Kohler 33e1d442a5
sparc/installcd-stage2-minimal.spec: bump kconfig
..to work around gcc-8 SUN_LDOMS build failure

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-08 11:41:29 -06:00
Ben Kohler 0b3e7bd066
sparc kconfig: update for 4.14.83 & remove SUN_LDOMS
SUN_LDOMS may be breaking the kernel build on gcc-8.  Adding new kconfig
to test this theory.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-08 11:04:56 -06:00
Ben Kohler 4d7b1d27c8
sparc/installcd: move from qla-qc-firmware to linux-firmware
Newer genkernel depends on linux-firmware by default.  Until now sparc
was ONLY adding qla-qc-firmware, but now we'll just pull the full
linux-firmware package.  This will give better hardware compatibility
anyway.

Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-07 07:51:20 -06:00
Ben Kohler d1bcb8f4ed
sparc/installcd: switch to new 2017 cdtar
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
2019-01-06 14:36:21 -06:00
Matt Turner c58fc26660 specs/ppc: Add ppc64le stage specs
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-01-05 15:19:56 -08:00
Tobias Klausmann 9508b899ce Assorted fixes and changes for Alpha
- Update kconfig for alpha, now including virtio for block/scsi and
  networking, and make all qla drivers modules.
- Add linux-firmware to installer CD.
- Rearrange some variables in tools/catalyst-auto-alpha.conf
- Remove cifs-utils (huge Samba 4 dep)
- Add btrfs-progs
- Remove "static" USE flag, since it causes a USE dep conflict in pam.

Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-01-05 11:51:59 -08:00
Matt Turner 170613724a specs/hppa: Include emacs and vim on the installcd
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-01-05 11:51:59 -08:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 129dec5296 Stop cleaning /usr/share/locale and /usr/share/man.
For the install-cd and admin-cd stop cleaning /usr/share/locale as that's
causing issues at least with tmux for not having any UTF-8 locales.
For the admin-cd stop cleaning /usr/share/man to see the resulting ISO size
difference and evaluate if it's worthy it.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-12-30 00:16:00 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 7179b0cc8a Update the x86 hardened specs profile to the new 17.0 profiles.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-12-29 23:58:30 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) b45a207671 Update kernel config for the admin-cd.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-12-29 23:52:47 +00:00
Matt Turner a5e5a7ba01 kconfig/powerpc: Remove old kconfigs
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2018-11-12 13:32:30 -08:00
Matt Turner 4be381ef9c weekly/admincd: Use stable sys-fs/btrfs-progs
We suspect this dated from a time before there were stable keywords on
sys-fs/btrfs-progs. A recent build failure on ppc made me notice this,
so lets use a stable version to avoid such problems in the future.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
2018-11-10 10:15:58 -08:00
Matt Turner 697df81bfe kconfig/powerpc: Build ISO9660 support into kernel
I think this is the reason the CDs are failing to boot.
2018-11-05 16:30:59 -08:00
Ben Kohler 72de12a5ca
kconfig/{amd64,x86}: add FB_SIMPLE 2018-10-23 13:21:58 -05:00
Matt Turner 418c1d5741 specs/ia64: Switch stages to 17.0 profile 2018-10-12 21:28:40 -07:00
Matt Turner f9068f1ed3 specs/alpha: Ship sys-fs/dmraid on the livecd
Expected to fix the livecd build which is currently failing with

   Error: --dmraid requires sys-fs/dmraid
          to be installed on the host system.
2018-10-09 09:43:29 -04:00
Ben Kohler 54c394b8c2
portage/isos: remove obsolete p.a_k for openssl 2018-09-25 11:23:39 -05:00
Ben Kohler 2b91c48b8c
portage/stages: remove obsolete p.a_k entry for portage 2018-09-25 11:18:01 -05:00
Ben Kohler e3eb201b5e
portage/stages: apply -filecaps globally 2018-09-25 11:17:02 -05:00
Ben Kohler 863d63d325
portage/stages: remove obsolete package.use/grub
amd64 profiles set this already since late 2016
https://gitweb.gentoo.org/repo/gentoo.git/commit/profiles/arch/amd64/package.use?id=df1cfa8b3a275372a8dc64cc93130128710e51f4
2018-09-25 10:28:43 -05:00
Ben Kohler fdbf26d24b
portage/stages: remove long-obsolete masks 2018-09-25 10:23:29 -05:00
Matt Turner 678b4c1f9f specs/ppc: Replace fwcutter with actual firmware
With the mirror restriction lifted, we can actually ship this on
install CDs.

Bug: https://bugs.gentoo.org/666588
2018-09-19 23:55:04 -07:00
Ben Kohler 5dd4cfe4da
specs/sparc: bump main sparc specs to 17.0 profiles 2018-09-19 15:31:08 -05:00
Ben Kohler 8f129c43d9
kconfig/{amd64,x86}/installcd: add more userspace crypto options
Bug: https://bugs.gentoo.org/665306
2018-09-19 11:52:50 -05:00
Matt Turner 426c2f300e specs/ppc: Add sys-apps/lm_sensors 2018-09-18 22:18:25 -07:00
Matt Turner e32aa3d3a1 specs/ppc: Readd net-wireless/{b43,bcm43xx}-fwcutter 2018-09-18 22:17:56 -07:00
Matt Turner 05e356bcc9 kconfig/powerpc: Disable bootup logo
On my iMac G4 it causes corruption with CONFIG_FB_OF
2018-09-18 18:11:47 -07:00
Matt Turner 557c5ce752 kconfig/powerpc: More configuration updates 2018-09-18 18:05:34 -07:00
Matt Turner d947d5dfb8 kconfig/powerpc: Enable firewire on ppc32
Bug: https://bugs.gentoo.org/496786
2018-09-18 17:25:04 -07:00
Matt Turner de882a6590 specs/alpha: Build stage3 from stage1 2018-09-17 12:21:14 -07:00
Matt Turner e581c7ceb2 specs/alpha: Switch stages to 17.0 profile 2018-09-17 12:21:14 -07:00
Matt Turner faf27fad3a specs/ppc: Update configs 2018-09-16 20:26:54 -07:00
Matt Turner 0f38d932d8 specs/ppc: Build stage3 from stage1 2018-09-15 22:47:11 -07:00
Matt Turner df8df8403a specs/ppc: Build the powerpc iso using the ppc profile 2018-09-15 22:47:11 -07:00
Matt Turner cf41003f5c specs/ppc: Remove "64ul" from stage names 2018-09-15 22:47:11 -07:00
Matt Turner 3f5e1b5b7d specs/hppa: Build stage3 from stage1
stage2 runs bootstrap.sh, which made sense when gcc had a
build/bootstrap USE flags that were set in stage1 and 2. But gcc is
fully built in stage1 now, making stage2 a waste of time.
2018-09-14 11:22:43 -07:00
Matt Turner ef7ad5313c specs/ppc: Use isos portage_confdir for installcd stages 2018-09-13 22:56:25 -07:00
Matt Turner b7440db1e8 specs/ppc: Switch to new 4.14 kconfigs 2018-09-13 22:56:25 -07:00
Matt Turner 429f486f51 specs/ppc: Switch from yaboot to grub 2018-09-13 22:56:25 -07:00
Matt Turner df0df8ff7d specs/ppc: Update packages and clean up list 2018-09-13 22:56:25 -07:00
Matt Turner ae10e98885 specs/ppc: Use update_seed in stage1 2018-09-13 22:56:25 -07:00
Matt Turner fb1f79c3d2 specs/ppc: Compress with pixz 2018-09-13 22:56:25 -07:00
Matt Turner 3971ac30fb specs/ppc: Switch stages to 17.0 profile 2018-09-13 22:56:25 -07:00
Matt Turner 7edc6fa93e kconfig/powerpc: Add 4.14 configs 2018-09-13 22:56:25 -07:00
Matt Turner 75e9042689 specs/alpha: Use isos portage_confdir for installcd stages 2018-09-08 20:40:48 -07:00
Matt Turner 58bba18c1e specs/hppa: Use isos portage_confdir for installcd stages
Avoids the following failure:

    The following USE changes are necessary to proceed:
     (see "package.use" in the portage(5) man page for more details)
    # required by dev-python/cryptography-2.2.2-r1::gentoo[-libressl]
    # required by dev-python/urllib3-1.22::gentoo
    # required by dev-python/requests-2.18.4-r1::gentoo
    # required by dev-python/ssl-fetch-0.4::gentoo
    # required by app-portage/mirrorselect-2.2.3::gentoo
    # required by app-portage/mirrorselect (argument)
    >=dev-libs/openssl-1.0.2o-r3 -bindist
2018-09-07 22:05:56 -07:00
Matt Turner 27079c201a specs/hppa: Switch stages to 17.0 profile 2018-09-07 21:52:46 -07:00
Matt Turner 3e3a528484 specs/hppa: Set pkgcache_dir
hake is very slow (gcc takes more than a day), so reusing the packages
will save huge amounts of time.
2018-09-07 21:51:50 -07:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) e9ddbb3ec6 Add initial stage4 spec based on amd64 spec.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-09-06 01:37:28 +00:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) bfa751f683 Sync spec variables order with other arches.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-09-06 01:33:51 +00:00
Ben Kohler b68b601c6e
specs/x86/*cd-stage2.spec: update source_subpath for subarch change 2018-08-28 15:06:22 -05:00
Ben Kohler e0daee4c35
specs/x86/*cd*: adjust subarch to match seed stage
On a few x86 livecd specs we are feeding i486 or i686 seed stage but
using "subarch: x86".  This subarch results in i386 CHOST in make.conf
which causes some various problems.  Adjusting subarch to match the seed
will ensure there is no "CHOST change" situation.
2018-08-28 08:03:14 -05:00
Ben Kohler 69ac785a45
specs/{amd64,x86}/hardened: comment cdtar to enable UEFI bootloader 2018-08-24 07:58:56 -05:00
Ben Kohler ffa0eae518
specs/{amd64,x86}/installcd-minimal-stage2.spec: comment out cdtar
As of catalyst-3.0.2, with USE=system-bootloader we can omit cdtar from
livecd-stage2 specs and catalyst will generate the required bootloader
files.  This gives us an updated isolinux & memtest86+, and also adds
UEFI grub for amd64.
2018-08-21 15:13:40 -05:00
Ben Kohler c95d0fb3c7
specs: more firmware-related fixes on amd64/x86 livecds
Several changes here:

-Fix sorting on previous addition, and elsewhere
-Move several firmwares from net-wireless/ to sys-firmware/
-Remove obsolete prism54-firmware
-Remove iwl* firmware (bundled in linux-firmware)
-Add linux-firmware where it's missing
2018-08-02 08:38:43 -05:00
Ben Kohler 2c6cb1d904
specs: add ipw2{1,2}00-firmware on a few more installcds
Some of our livecd specs already have these firmwares but they're
missing on our minimal installcds.  Adding these, since this is still
fairly common (albeit old) hw.
2018-08-02 07:02:05 -05:00
Ben Kohler e36f4366ad
specs/{amd64,x86}/installcd-stage2*: bump kconfig to 4.14.52 2018-07-31 09:46:22 -05:00
Ben Kohler 8a5b0a0c7f
portage/isos/package.use: enable savedconfig on linux-firmware
By adding savedconfig on linux-firwmare, we can save a few dozen
megabytes by trimming firmwares that are not generally useful on
livecds.  This flag activates the savedconfig file which was recently
added to portage/isos/savedconfig/.
2018-07-31 09:30:21 -05:00
Ben Kohler eee135b3b2
portage/isos/package.use: add USE=jit to libpcre2 for git
Our admincd and other isos which include dev-vcs/git need this flag
enabled.
2018-07-31 09:29:07 -05:00
Ben Kohler bf49cee53f
specs/sparc: use replace pixz with xz compression
Default compression mode for pixz tries to allocate too much memory for
sparc's 32bit userland, use plain slow xz for now.
2018-07-20 17:35:59 -05:00
Ben Kohler 165472408e
portage/stages/package.use/: fix minor typo in libpcre2 entry 2018-07-19 08:18:30 -05:00
Ben Kohler afa01bdc79
portage/isos/savedconfig: savedconfig for linux-firmware
This adds a new savedconfig file for linux-firmware to cut out firmware
types that we obviously don't need on installcds, such as multimedia/dvb
cards.  This file is unversioned so it'll apply to future linux-firmware
releases, so it may need minor tweaks over time as new unwanted
firmwares are added upstream.

This file doesn't take effect unless/until we set USE=savedconfig on
linux-firmware, this hasn't been done yet.
2018-07-18 13:53:42 -05:00
Ben Kohler e1d60c3127
kconfig/{amd64,x86}: new installcd-4.14.52.config 2018-07-18 13:39:56 -05:00
Jorge Manuel B. S. Vicetto (jmbsvicetto) 82993b1e10 Stop disabling the build of sys-apps/portage with USE="rsync-verify".
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
2018-07-15 19:50:10 +00:00
Ben Kohler 86dc6ae699
specs: add sys-apps/sandbox to *cd*stage2* livecd/unmerge 2018-07-13 14:37:51 -05:00
Ben Kohler 6d720d1bdc
specs: change man to man-db in livecd/unmerge
Default for virtual/man was changed to man-db back in 2014 but our specs
still have the old default sys-apps/man in livecd/unmerge.  Fixed.
2018-07-13 14:18:11 -05:00
Ben Kohler d88bebb7b9
specs/amd64/installcd-stage1.spec: force rebuild of glibc for -multilib* 2018-07-13 12:27:28 -05:00
Ben Kohler 2681491831
specs: empty /usr/include on isos 2018-07-13 12:24:43 -05:00
Ben Kohler 89d7daf0b4
specs: add /boot to livecd/empty to work around bug 661084
Due to bug 661084, the /boot/System* and other wildcard matches in
livecd/rm are not functional.  This causes us to ship a duplicate copy
of kernel/initramfs, wasting space.

I've added /boot to livecd/empty to work around this for now.  I only
added this to specs where /boot/* things were already in livecd/rm.
2018-07-13 12:15:55 -05:00
Ben Kohler 0001717646
specs: add binutils to livecd/unmerge on remaining arches 2018-07-13 12:00:27 -05:00