Commit Graph

17 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
2d4975c091
Change partition layout
Put root filesystem as the last partition, to ease resizing.

Fixes QubesOS/qubes-issues#3173
2017-10-17 23:59:00 +02:00
Marek Marczykowski-Górecki
9b2078d346
Add support for template with partition table on root.img
When TEMPLATE_ROOT_WITH_PARTITIONS is set, include (GPT) partition table
and install actual OS on the first one. This allows installing grub, or
other bootloader.

Fixes QubesOS/qubes-issues#2577
2017-06-24 01:28:37 +02:00
Patrick Schleizer
ec69d65372
enable errtrace right after xtrace 2015-08-10 22:59:53 +02:00
Patrick Schleizer
d16fac0b56
verbosity fixes 2015-08-10 22:58:07 +02:00
Marek Marczykowski-Górecki
3092bb2d71 Add support for plugins, move all distribution-specific code there
While at it, also change name of local repo to pkgs-for-tmplate (was
yum_repo_qubes).
2015-03-10 23:57:13 +01:00
Jason Mehring
60c1d07538 Reformatted script 2015-02-14 12:32:16 -05:00
Marek Marczykowski-Górecki
d63d8cccbd Prepare mountpoint before calling any dist-specific script
For example debian's 00_prepare.sh want to use it.
2014-11-06 02:11:07 +01:00
Jason Mehring
1334b8ae50 Added colorized messages and changed scripts to use them
Added a few more whonix replacement tweaks
Updated umount_kill.sh to be able to umount directories that have been deleted
Added a DEBUG feature to save / use already created debootstrap image to save time debugging
2014-10-16 12:03:05 -04:00
Jason Mehring
c27d84cc80 Renamed umount_image to umount_kill as to better shuit its purpose 2014-10-14 17:04:42 -04:00
Jason Mehring
574668f7d9 Fixed issue with umounting when path ended with double slashes// and changed code that set INSTALLDIR to create proper full path without any trailing slashes 2014-10-14 16:30:12 -04:00
Jason Mehring
9e91084ef2 Debian Wheezy template addition and refactoring to allow Whonix TEMPLATE_FLAVOR 2014-10-14 12:02:12 -04:00
Marek Marczykowski-Górecki
000b26c06e Force "C" locale during build
Do not depend on system-local settings.
2014-07-28 18:53:49 +02:00
Marek Marczykowski-Górecki
fa134bd512 Less naive method of template name construction 2014-07-26 04:30:31 +02:00
Marek Marczykowski-Górecki
26663e2a58 fedora: Improve error handling 2014-05-13 04:30:01 +02:00
Marek Marczykowski
c520d85c7a minor messages fixes 2013-02-16 22:51:01 +01:00
Marek Marczykowski
338593d624 prepare_image: exit on error 2013-02-16 22:51:01 +01:00
Marek Marczykowski
add64aa2e4 Support different versions of the same distribution
Split $DIST to distribution name and version (builder_setup script) and search
for scripts first $DIST-specific, but then for given distribution.

Also move out some Fedora-specific things to scripts_fc17.
2013-02-16 21:21:05 +01:00