Commit Graph

790 Commits

Author SHA1 Message Date
Leah Neukirchen 4debf48359 use mount --rbind to propagate mounts into the chroot
Else things like efivarfs will not be passed down into the chroot,
which makes installing grub fail.

Closes #231.
2022-02-08 13:28:46 -06:00
John Zimmermann 488d58ff2d release.sh.in: REPOSITORY should be XBPS_REPOSITORY 2021-11-04 18:28:51 -05:00
Michael Aldridge f9d26247c9 release.sh.in: Drop Cinnamon, LXDE 2021-09-30 11:37:43 -05:00
salahdin-ahmed 7cd19aff06 dracut/adduser: fix autologin kernel option
The sed replacment should be in agetty-tty1/conf not agetty-tty1/run
2021-09-04 15:59:37 -05:00
Cameron Nemo 388993eb51 Add Rock64 support 2021-07-25 12:37:32 +02:00
meator 727abdd8b2 Fully remove unused -S option
A -S option was added in 7d89972c57. This
option was removed in 77442599ce. This
option was not removed completely. This removes the -S option from
getopts.
2021-07-01 17:26:59 -03:00
Bailey c1a41947e9 Change freenode.org to libera.chat
The Void Linux team has switched its IRC network to libera.chat
2021-06-25 11:35:28 -07:00
Michael Aldridge e060405181 packer: unset bogus shutdown_command 2021-05-16 13:52:33 -07:00
John Zimmermann 7cc18c2bef mkimage.sh: default for bigger boot parition size on pinebookpro 2021-05-16 21:58:20 +02:00
John Zimmermann 2ea40dc269 mkimage.sh: initialize and check PLATFORM earlier in script 2021-05-16 21:58:20 +02:00
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