Commit Graph

790 Commits

Author SHA1 Message Date
Michael Aldridge c358b52780 mknet.sh.in: remove in a crash 2017-08-30 22:13:20 -07:00
Michael Aldridge e460df1438 Makefile: Use stamps for better build redundancy 2017-08-30 01:52:22 -07:00
Michael Aldridge 9debeafbf6 mkrootfs.sh.in: support arbitrary filenames 2017-08-29 22:42:40 -07:00
Michael Aldridge aa0920fb16 Drastically improve make dependency resolution 2017-08-29 21:56:55 -07:00
Michael Aldridge bc6d432ab1 mkplatformfs.sh.in: use the cache 2017-08-29 21:24:53 -07:00
Michael Aldridge 76d42ecaae mknet.sh: Change default initrd compression to xz 2017-08-29 00:40:58 -07:00
Michael Aldridge 5ce4621845 mknet.sh: make keymap and locale setable options 2017-08-28 22:56:38 -07:00
Michael Aldridge fc80523768 Control PXE tarball builds with Makefile 2017-08-28 22:56:38 -07:00
Michael Aldridge 89e3affa22 mknet.sh: Massive Cleanup
Among other things this commit refactors mknet.sh to use the lib.sh
functions for executing code in the chroot and generally handling the
potential for future builds to generate netboot tarballs for ARM
platforms.  ARM tarballs will require syslinux to be built for the
target architecture, but it should largely just be a drop in option.
2017-08-27 19:22:07 -07:00
Furkan Mustafa 9901e0883e installer: add support for plain luks volumes
Reason: If user prepares some encrypted partitions on their own,
installer was not showing them as configurable.
2017-08-27 03:41:50 +09:00
Furkan Mustafa 984a1961ee installer: reset fmt variable on each iteration of loop 2017-08-27 03:39:43 +09:00
pulux a15a4a69ac update homepage url
Closes: #126 [via git-merge-pr]
2017-08-22 22:16:08 -07:00
Enno Boland 5c4f9f87de Change Button labels in Filesystem Menu
Closes: #127 [via git-merge-pr]
2017-08-22 22:14:30 -07:00
Michael Aldridge 6335173798 README.md: update minimally 2017-08-22 22:11:37 -07:00
Michael Aldridge 4f514f5212 Explicitly set number of xz compressor threads 2017-08-21 00:04:17 -07:00
Michael Aldridge 5791d18d31 Makefile: add option to set mirror across build 2017-08-20 23:10:15 -05:00
Michael Aldridge a118712911 Create targets to setup distdir 2017-08-20 14:59:43 -07:00
Michael Aldridge eeb2a810ee Remove obsolete build scripts 2017-08-19 00:20:35 -07:00
Michael Aldridge 4288c890a3 Build SBC and Cloud images via Makefile 2017-08-19 00:16:50 -07:00
Michael Aldridge 5ea6dc395c mkimage.sh.in: compress resultant images 2017-08-19 00:14:12 -07:00
Michael Aldridge bc651eb19f Build images via makefile 2017-08-18 21:14:00 -07:00
Michael Aldridge 4e2214218a mkimage.sh.in: fix PLATFORM detection 2017-08-18 21:13:48 -07:00
Michael Aldridge 20ce939c01 Build PLATFORMFS with Makefile 2017-08-16 22:43:06 -07:00
Michael Aldridge d4ba63c5e7 Generate platformfs via makefile 2017-08-14 20:57:51 -07:00
Michael Aldridge 03abfc2115 Build rootfs via makefile 2017-08-14 20:56:57 -07:00
Michael Aldridge 3e5c8d43e7 Fix handling of i686 on an x64 host 2017-08-14 00:59:05 -07:00
Michael Aldridge b53e2e4814 Makefile: remove install target 2017-08-13 17:59:11 -07:00
Michael Aldridge c0424731dd mkimage.sh.in: Use abstracted chroot access 2017-08-13 17:45:22 -07:00
Michael Aldridge 0b638dd785 mkimage.sh.in: Fix typo in cleanup code 2017-08-13 17:44:51 -07:00
Michael Aldridge 6e1d80b78b Factor out architecture map 2017-08-13 17:44:25 -07:00
Michael Aldridge 2724ae0abb mkimage.sh.in: add comments 2017-08-13 01:40:19 -07:00
Michael Aldridge 7a7766cfcb mkimage.sh.in: lib.sh and a generous serving of quotes 2017-08-13 01:02:47 -07:00
Michael Aldridge 119a0ad1b5 Add mkplatformfs.sh.in 2017-08-12 20:06:20 -07:00
Michael Aldridge fa88e042ba Fix native config path bug 2017-08-12 16:42:07 -07:00
Michael Aldridge b531fae80b Factor out tool check to lib.sh.in 2017-08-11 00:56:28 -07:00
Michael Aldridge 990287bbc2 lib.sh.in: add shebang to clear shellcheck error 2017-08-11 00:15:58 -07:00
Michael Aldridge d6975a2793 QEMU interpreter must be registered at absolute path 2017-08-10 23:50:14 -07:00
Michael Aldridge 069d8c48eb Fix password set step 2017-08-10 23:44:10 -07:00
Michael Aldridge 34bffe1e2a Factor out chroot helpers to lib.sh
This commit removes all of the chroot refactor to a seperate file.
This paves the way to use these functions in all other scripts.
2017-08-10 23:28:26 -07:00
Michael Aldridge 10568660ac Clean up chroot/QEMU logic
The logic that sets up the QEMU static binary to permit running alien
binary formats is quite complex.  This commit cleans up a lot of the
logic around this and adds a huge number of comments to try and
clarify why things happen when they do.  Ultimately this commit
provides a lot of the ground work to factor out all of the chroot
setup into a seperate shell file that can be sourced by other mklive
tasks that need to operate inside of a chroot with a possibly alien
executable format.
2017-08-10 00:01:09 -07:00
Michael Aldridge a7ba42f7ec Simplify mkrootfs.sh.in
Previously this script could produce rootfs tarballs suitable for a
few different systems.  This worked but meant that several different
scripts were then building root filesystems instead of just using ones
produced by this script.  This commit cleans up the script to produce
just a root filesystem.  Note that this system is not bootable, that
still needs to be done by another script which processes platform
specific operations.  This script just produces a root filesystem for
every architecture that XBPS understands.
2017-08-09 17:28:10 -07:00
Michael Aldridge 1547ff40e6 mkrootfs.sh.in: generous helping of quotes 2017-08-08 18:47:23 -07:00
Michael Aldridge 039360118b Consistently use ROOTFS to refer to the system being built 2017-08-07 19:31:31 -07:00
Michael Aldridge dbac38c0f7 Revert "mklive.sh.in: add custom scripts to init"
This reverts commit 3c68cc4158.

This commit was not adequately reviewed and introduces unintentional
errors to the mklive system as well as unfavorable directory contents
in every published ISO.
2017-08-07 18:27:07 -07:00
edr 3c68cc4158 mklive.sh.in: add custom scripts to init
The added option -H <hooksdir> allows the user to specify a directory
that contains hook scripts which should be run directly after the live
system's init sequence.
This can be used to customize the system (such as e.g. setting a
different default shell)
2017-08-06 21:10:40 -07:00
Michael Aldridge 414ebf318f Add netboot generator script 2017-08-06 21:03:55 -07:00
Michael Aldridge 76ea7500b2 Add an automatic install option to the initramfs. 2017-08-06 21:02:55 -07:00
Michael Aldridge 04bf2e873b Support building GCP ready images 2017-08-03 21:22:48 -07:00
masato9000 a4b3dd36c9 Improve support for 32-bit EFI firmware in ISOs and installer
mklive:
- include support for booting both 32- and 64-bit UEFI firmware with
  32- and 64-bit images.
- require grub packages for both firmware bitness types
  (build-x86-images)

Installer:
- include support for installing both 32- and 64-bit UEFI grub loaders
- detect UEFI platform (firmware) bitness at install time

Closes: #102 [via git-merge-pr]
2017-08-02 22:25:09 -07:00
M. Dietrich fe57bb4b06 set umask 022 2017-08-02 16:31:15 -07:00