Commit Graph

630 Commits

Author SHA1 Message Date
John Zimmermann 48ba5d61b2 packer: increase qemu disk size, set shutdown command
the build runs out of space with only 1G, furthermore it was
doing a hard reset without any sync, so many files touched in
the cloud.sh script were empty on the image
2021-05-16 21:34:42 +02:00
Michael Aldridge 50fa3c8fde packer: Use HCL2 2021-05-15 23:32:53 -07:00
Piraty d688ce55fc Add support for rpi4
and take the split rpi-kernel packages into account,
see void-packages/4a02207f57
2021-05-10 19:24:35 +00:00
Érico Nogueira 25ddad302d release.sh.in: build rootfs for i686. 2021-03-15 22:18:15 -07:00
Michael Aldridge 0e33e2a7a4 release.sh.in: Drop images that are no longer built 2021-03-15 22:18:15 -07:00
Érico Rolim e4cf0ea630 data, mklive.sh.in: remove void-vpkgs.conf
Most of these aren't in void-packages anymore, the awk dependency
resolution is done via base-* packages, and the openssl entry was making
a XBPS bug apparent after the OpenSSL switch, where 'xbps-remove -o'
tries to remove the 'openssl' package.
2021-03-15 22:17:38 -07:00
John Zimmermann 464eb6edfa mkimage.sh: update pinebookpro u-boot path 2021-03-15 19:43:23 +01:00
John Zimmermann 4c9e3e62d8 Makefile: add pinebookpro targets 2021-03-15 19:42:54 +01:00
John Sullivan 011f3f579f Add support for Pinephone (pinephone)
Support for creating a pinephone platformfs and live image.

Closes: #150 [via git-merge-pr]
2021-03-11 23:03:52 -08:00
Michael Aldridge 88af7e3963 data: Stop mapping openssl to libressl-openssl 2021-03-08 01:02:12 -08:00
q66 8025b30351 build-x86-images: pass extra args correctly 2021-03-05 01:49:02 +01:00
q66 7d30d331eb lib.sh.in/mkrootfs.sh.in: proper native platform detection 2021-03-05 01:43:00 +01:00
q66 51d4a5f4c2 enable serial console in live when requested
also blacklist more agettys to fix the hvc0/hvsi0 issue

Closes https://github.com/void-linux/void-mklive/pull/194
2021-03-05 01:23:56 +01:00
Ken Moore be02f166cf Increase initial squashfs size reservation
To help account for filesystem compression and such (particularly ZFS-on-root with compression enabled), bump the initial size reservation from (7/6) * X to 2 * X
It could probably be a bit lower, but it is probably better to avoid getting too specific to particular compression rates or filesystem optimizations.

Sponsored by: Project Trident
2021-02-20 01:36:01 -08:00
madjack 68a35230cc Fix linux version option format check
Closes: #144 [via git-merge-pr]
2021-02-19 22:33:24 -08:00
John Sullivan c8cb9a264e mkimage.sh.in: omit disable_journal when not used
Resolves #148

Closes: #149 [via git-merge-pr]
2021-02-19 22:31:25 -08:00
Érico Rolim 09512f6f05 autoinstaller: add comment about swapsize.
Relevant: #37.
Closes: #191 [via git-merge-pr]
2021-02-19 22:14:52 -08:00
Michael Aldridge aeabac5bac lib.sh.in: Don't copy qemu into the chroot 2021-02-19 21:55:15 -08:00
Dave Akers 284be34a1f Fix static ip route
when using a static ip should set default gateway
also noticed an echo line not going to the $LOG

Closes: #133 [via git-merge-pr]
2021-02-19 21:42:48 -08:00
Paper 0dae4a3158 Update splash.png
Closes: #184 [via git-merge-pr]
2021-02-19 21:07:43 -08:00
Cameron Nemo 80f44ed81e lib: use correct name for qemu binfmt
The qemu-user-static package installs binfmts with -static appended to
the name. Match that behavior here.

Closes: #169 [via git-merge-pr]
2021-02-19 21:07:27 -08:00
Piraty 61bc894f64 lib: determine qemu binary from target cpu string 2021-02-19 21:07:27 -08:00
Cameron Nemo 35209b255c lib: install qemu binfmts less often
This change ensures that 32 bit architecture targets are created by
capable hosts without qemu.

Installing qemu binfmts was unnecessary for some targets and causing
issues.

Closes #168
2021-02-19 21:07:27 -08:00
Yi Zhang 649fd9ecc0 Check QEMU_BIN is not empty for cleanup_chroot, when building for same arch, QEMU_BIN would not be set, the condition fallsback to /usr/bin, which is executable 2021-02-16 22:39:59 +01:00
Pulux ae05e37287 installer: remove void-live.rules if found.
Closes: #186 [via git-merge-pr]
2021-02-16 22:39:05 +01:00
Érico Rolim 4db56b0a1a Revert "installer: reconfigure base-files when installing."
This reverts commit f71eb4bb81.

This commit was made erroneously, since base-files was reconfigured
already a few lines above.
2021-02-16 22:39:05 +01:00
Paper 19356803dd installer.sh.in: fix typo 2021-02-06 23:23:39 +01:00
Érico Rolim f71eb4bb81 installer: reconfigure base-files when installing.
base-files's INSTALL includes some clean up that always needs to be run.
2021-01-23 18:48:13 -08:00
Đoàn Trần Công Danh 708e7c197f du: use --apparent-size to calculate rootfs's size
On ZFS (probably btrfs, too) with compression on,
disk usage isn't the same with its real sizes.

Without "--apparent-size", du(1) will report its disk usage
which is way lower than real space needed for squashfs.

Let's ask du to provide the real apparent size for our rootfs.

--apparent-size should be available on both GNU's du (used by Void)
and BSD's du.
2021-01-08 21:10:11 -08:00
Jürgen Buchmüller dee75001ca installer.sh.in: unset _again when restarting 2021-01-01 13:07:30 +01:00
Jürgen Buchmüller 9572d4c636 installer.sh.in: fix typo and menu after hostname
The next item after entering the hostname is different between
glibc (Locale) and musl (Timezone).

Closes: #165
2021-01-01 13:04:59 +01:00
Jürgen Buchmüller 0076aca02b installer.sh.in: add " again" just once
Closes: #170
2021-01-01 12:45:23 +01:00
Andrew Benson 3cb1d24862 mkrootfs: don't remove lib32/lib64 symlinks 2020-12-23 23:08:52 -08:00
Érico Rolim 1c23022246 build-x86-images: add void-docs-browse to the images. 2020-12-19 21:00:16 -08:00
Michael Aldridge 59b4378348 mkplatformfs.sh.in: Drop support for obsolete platforms 2020-12-09 21:41:01 -08:00
Cameron Nemo 025d6d681a lib: register binfmts for x86, better native detection
Add the magic/mask for i386 and x86_64 and register them when necessary.

Also adjust the native arch detection logic to allow (e.g.) building
aarch64* images on aarch64 without qemu installed.
2020-11-24 21:23:34 -08:00
Michael Aldridge 75d7fa8adb packer/scripts: always sync xbps 2020-11-17 20:48:37 -08:00
fosslinux 2c7d8c0244 build-x86-images.sh.in: remove dropped package econnman. 2020-11-01 02:26:38 +01:00
Michael Aldridge e9dea2d32c packer: Use jq to compose templates 2020-08-23 19:03:39 -07:00
Michael Aldridge dd6cd7951a packer: Add digitalocean image 2020-08-23 19:03:39 -07:00
Robert Lowry 92ac26babe README.md: remove (presumably dated) reference to runit 2020-07-25 12:43:48 -07:00
Michael Aldridge 4332c72896 dracut: Fix autoinstaller 2020-07-22 21:33:03 -07:00
Michael Aldridge da9626bf54 Dockerfile: update bootstrap alpine version to 3.12 2020-06-07 17:52:59 -07:00
Piotr Wójcik fc40e50ff9 Dockerfile: remove spdx-licenses-list
Including a copy in void-packages turned out better solution.
Grep in image don't have required perl regexps, and getting
one that have make linting slower by order of magnitude.
Even if it was already there, simply using image is
unnecessarily slower.

This reverts commit 163a923529.
2020-05-08 21:04:08 -07:00
Renato Aguiar 31df80c341 Postpone package configuration
Instruct xbps-install to do unpack only, so packages can be properly
configured by xbps-reconfigure call.

Before, xbps-install was sometimes marking packages as configured,
thus making xbps-reconfigure call useless.
2020-03-16 12:53:36 +01:00
Juan RP d2969a7708
README.md: the scripts are not in flux, remove obsolete comment. 2020-02-27 11:48:08 +01:00
Piraty 557be33ae7 build-x86-images.sh: remove intel-ucode from X_PKGS
intel-ucode went to nonfree repository
with void-packages/450dd113fbb87e9299161bb7143536249ecb16c2

It makes more sense in permanent installations anyway
2020-02-27 11:45:10 +01:00
Juan RP 529c48e54a
Makefile: fix the clean target 2020-02-27 11:39:33 +01:00
Renato Aguiar 707943982b Only set root partition start on pinebookpro 2020-02-24 22:42:39 -08:00
Renato Aguiar 4861b7619d Increase partitions shift on pinebookpro
Create boot partition starting at 32768 sectors on pinebookpro
platforms. That leaves enough unallocated space to install u-boot
without overlapping with any partition.
2020-02-24 19:53:12 -08:00