Christopher Brannon 9800862806 mkimage.sh: fix sfdisk usage for multiple arches.
In the case where we have two partitions, boot and root, the
root partition needs to start at sector (2048 + bootfs_size_in_sectors),
not at $BOOT_FSSIZE.
Using $BOOT_FSSIZE as the start tells sfdisk to try to start the
/ partition in the middle of /boot, which it refuses to do.
Leave start blank, and sfdisk uses the first unallocated sector as
the start of /, which happens to be sector 2048 + bootfs_size_in_sectors.

I suspect this fixes #81.
2016-11-30 13:32:00 +01:00
2015-05-08 17:25:42 +02:00
2016-05-01 06:12:44 +02:00
2015-04-15 07:33:47 +02:00
2016-02-07 09:41:40 +01:00

The Void Linux image/live/rootfs maker and installer

This repository contains utilities for Void Linux:

  • installer (The Void Linux el-cheapo installer for x86)

  • mklive (The Void Linux live image maker for x86)

  • mkimage (The Void Linux image maker for ARM platforms)

  • mkrootfs (The Void Linux rootfs maker for ARM platforms)

Dependencies

  • xbps>=0.45
  • qemu-user-static binaries (for mkrootfs)

Usage

Type

$ make

and then see the usage output:

$ ./mklive.sh -h
$ ./mkrootfs.sh -h
$ ./mkimage.sh -h

Examples

Build a native live image with runit and keyboard set to 'fr':

# ./mklive.sh -k fr

Build an i686 (on x86_64) live image with some additional packages:

# ./mklive.sh -a i686 -p 'vim rtorrent'

Build an x86_64 musl live image with packages stored in a local repository:

# ./mklive.sh -a x86_64-musl -r /path/to/host/binpkgs

See the usage output for more information :-)

Description
The Void Linux live image maker - modified for Void Builds
https://voidbuilds.xyz
Readme 1.1 MiB
Languages
Shell 96%
Makefile 1.7%
Public Key 1.5%
Dockerfile 0.6%
HAProxy 0.2%