Commit Graph

655 Commits

Author SHA1 Message Date
Toyam Cox
bdcc109f8b Allow multiple packages to be installed 2022-09-02 20:36:55 -05:00
Cameron Nemo
44135029c3 fix: error detection in mkplatformfs
Sometimes creating the tarball can fail, so check the return code.
2022-09-02 20:36:24 -05:00
Cameron Nemo
664e3184e1 fix: make rockchip boot partitions bootable 2022-09-02 20:36:09 -05:00
Duncan Overbruck
fe2b9834d4 installer: set timezone by creating /etc/localtime symlink
https://github.com/void-linux/void-docs/issues/692
https://github.com/void-linux/void-runit/pull/40
2022-09-02 20:09:10 -05:00
Roberto Ricci
80dce8d0ec installer: use defaults mount option for swap
this changes nothing in practice, but `sw` has no actual meaning on
Linux
2022-09-02 20:08:52 -05:00
oreo639
cfbf936b0c build-x86-images: replace qupzilla with firefox-esr for lxqt
QupZilla is no longer maintained and no longer provided in void-packages.
2022-08-24 06:59:09 +02:00
Michal Vasilek
ee69596c58 build-x86-images: fix error with missing mklive.sh
* print an error message to stderr
* exit with return code 1
2022-07-28 21:56:04 +02:00
axtloss
d93fae71ce
installer: allow spaces in ssid and password 2022-07-19 05:10:00 -04:00
Michal Vasilek
65b284c983 build-x86-images: rewrite
* rename e to enlightenment
* enable building kde by default
* allow building multiple, but not all images (ex. -b "base xfce")
* run the script with set -e (exit when there is an error)
* do not allow invalid variants
* do not allow invalid commandline options
* exit with status code 0 when build-x86-images.sh -h is ran
2022-07-18 21:26:02 +02:00
classabbyamp
df59fd5a53 installer: validate user login name based on useradd(8) rules
fixes #256
2022-07-16 11:55:35 -04:00
Michal Vasilek
3158bed4da build-x86-images: kde: use firefox-esr
all other versions use firefox-esr, so let's also use it in the kde
image for consistency
2022-07-11 23:25:52 +02:00
Michal Vasilek
5404b91226 build-x86-images: gnome: remove gnome-terminal
The gnome metapackage has gnome-terminal in dependencies, so there isn't
a reason to explicitly install it and gnome-terminal might be replaced
by gnome-console in the future.
2022-07-11 23:20:35 +02:00
Hervy Qurrotul Ainur Rozi
f7d1d3ce53 fix: detect current _linux_series 2022-07-10 20:59:03 +02:00
Cameron Nemo
5fabad111d replace default repository URL
http -> https
alpha.de.repo.voidlinux.org -> repo-default.voidlinux.org
2022-07-10 20:58:27 +02:00
Leah Neukirchen
f28571296e use umount -R to unmount recursively bound mounts 2022-02-09 11:52:43 -06:00
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