Commit Graph

594 Commits

Author SHA1 Message Date
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 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
Piotr Wójcik 163a923529 Dockerfile: include spdx-licenses-list
This is for linting license field on Travis.

One can also customize image as simple as
docker build "--build-arg=ADDINS=moreutils jq"
2019-10-23 23:55:01 -07:00
madjack 8ad31657b7 Fix additional packages not installed 2019-10-23 23:53:54 -07:00
Piraty a1352601ca add dockerignore 2019-10-23 23:50:00 -07:00
Jeremy Jackins b71d3f9c7b installer.sh.in: add -f flag to mkfs.f2fs
Without -f, mkfs.f2fs refuses to overwrite an existing filesystem, causing installation to fail. With this flag we match the behavior of the other filesystems.
2019-10-23 23:47:00 -07:00
Robert Lowry de6cc17b0c make docker use curl 2019-10-23 10:39:17 -05:00
q66 f4458db134 installer.sh: fail validation for EFI systems without proper ESP
Right now the installer will print an error dialog but mark the
filesystems done anyway and march on, which will later result
in a failed GRUB installation.
2019-07-19 14:50:01 +02:00
Juan RP a3f49d0c11 installer.sh.in: update my email address.
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 14:00:13 -04:00
John Zimmermann 9bcbbc95e0 display-manager-autologin.sh: fix sddm detection
sddm doesn't ship with a /etc/sddm.conf as default so the old check
returned false.
2019-05-30 19:22:38 -07:00
Michael Aldridge 6ce4732bbc release.sh.in: Make an easy release script 2019-05-27 20:16:15 -07:00
Cameron Nemo 53b58fef3f Remove defunct systemd support
Closes: #70 [via git-merge-pr]
2019-05-25 13:36:49 -07:00
human aa50f22312 installer: better timezone menu
Closes: #65 [via git-merge-pr]
2019-05-25 13:36:24 -07:00
human 90cfccb903 installer: better check for /bin/dialog
this works on distros where /bin isn't a symlink to /usr/bin
2019-05-25 13:36:24 -07:00
Urs Schulz 86834e3ff7 mkplatformfs.sh: fix -k option
Closes: #64 [via git-merge-pr]
2019-05-25 13:35:59 -07:00
Urs Schulz d3505ba860 mkplatformfs.sh: add option to disable compression 2019-05-25 13:35:59 -07:00
Urs Schulz 65f88c6d6f mkplatformfs.sh: error out without base tarball 2019-05-25 13:35:59 -07:00
Noah Huppert cd127e8320 mklive: fixed -o option so it could take an absolute path
Closes: #56 [via git-merge-pr]
2019-05-25 13:33:29 -07:00
Kalle Møller 43fae882e9 Added compressions
Apparrently xz requires liblz4

Closes: #54 [via git-merge-pr]
2019-05-25 13:33:03 -07:00
Kalle Møller 3b0177266d Update README.md 2019-05-25 13:33:03 -07:00
Robert Lowry 7b6fdc6003 installer.sh.in: clarify 'Network' source
Closes: #45 [via git-merge-pr]
2019-05-25 13:32:23 -07:00
q66 b795f541a6 mkrootfs: enable ppc64 + ppc-musl support
Closes: #26 [via git-merge-pr]
2019-05-25 13:30:54 -07:00
stenstorp 40dd7a4ede mkrootfs.sh.in: Mention ppc-musl 2019-05-12 01:13:53 -04:00