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
Renato Aguiar
9e0584c9b3
Avoid copying qemu-static to rootfs
...
Use fix binary flag (F) to load binfmt interpreter (qemu-static) on
register, so it doesn't need to be copied to chroot.
This requires kernel >= 4.9.
2020-02-20 06:05:13 -08:00
Renato Aguiar
a7a20d50d3
Fix execution of post install scripts on cross builds
...
Add missing call to register_binfmt before installing packages on
mkrootfs.
2020-02-20 15:03:44 +01:00
Renato Aguiar
9b0805471a
Add support for Pinebook Pro (pinebookpro)
2020-02-20 13:00:52 +01:00
Renato Aguiar
cc93f013b0
Prefer repositories from '-r' in mkplatformfs
...
This allows replacing existing packages with custom built ones and
makes mkplatformfs behavior consistent with mkrootfs.
2020-02-20 12:54:12 +01:00
Duncan Overbruck
2b1aa4f45d
lib: make sure /tmp is there and mount it
2020-02-17 21:27:14 -08:00
Adam Gausmann
3c12c74de0
Add -o <outfile> to mkplatformfs.sh for feature parity
2020-02-14 10:29:14 -08:00
Piraty
4ffa689706
mkimage.sh.in: explicitly set 'PermitRootLogin yes' in sshd_config
...
So far, image generation relied on the config shipped in the openssh
package to ensure root login with password, but as this might change in
the future, explicitly apply and document this requirement for embedded
images here instead.
The exception for GCP (disable root login) should still work as
intended.
2020-01-20 10:32:35 +01:00
toluschr
95e305c461
Added possibility to choose the partitioning software
2020-01-04 10:03:19 +01:00
Piraty
2ca28459d7
build-x86-images.sh: fix image detection for new gnome flavor
2019-10-27 17:03:48 +01:00
Juan RP
5c0cef01da
Merge pull request #83 from void-ppc/installer-return
...
installer.sh: fail validation for EFI systems without proper ESP
2019-10-27 07:02:08 +01:00
Juan RP
510a4bebd1
Merge pull request #21 from Johnnynator/master
...
build-x86-images: add gnome image support
2019-10-27 07:01:12 +01:00
Juan RP
fc3ba9eaf7
Merge pull request #60 from Noah-Huppert/mklive-kver-opt
...
mklive: added -v kerver option
2019-10-27 07:00:48 +01:00
Juan RP
59274b0bfa
Merge pull request #90 from bobertlo/ca
...
make docker use curl
2019-10-27 06:58:03 +01:00
Adeel Mujahid
56e7ba3565
Add /bin/dash as default command
2019-10-25 14:59:54 -04:00
human
f19733f80f
mklive: fix bashism
2019-10-23 23:58:30 -07:00