Jason Mehring
b4ea7f437b
Removed wheezy packages deps from whonix list since wheezy packages will now also be installed seperately
2014-10-22 17:16:35 -04:00
Jason Mehring
f3a02b1251
Created function to load package.list from proper directories. There can be multiple targets if TEMPLATE_FLAVOR and sub flavors are defined. All package.list files are kept within each flavor directory
...
Refactored some code to allow above to reduce duplication of code
2014-10-22 16:37:26 -04:00
Jason Mehring
7e4148a3b9
Merge remote-tracking branch 'upstream/wheezy' into wheezy
2014-10-22 05:41:59 -04:00
Jason Mehring
4ad8522455
Fixed typo of SCRIPTSDIR var
2014-10-21 10:00:32 -04:00
Jason Mehring
f597ff760f
Added ability to be able to relocate TEMPLATE_FLAVORS to any directory via configuration file
...
Added ability to specify more than one TEMPLATE_FLAVOR (Primary plus others)
Added ability for all TEMPLATE_FLAVORS and others to be able to hook into scripts (pre / post)
Addeed tests for above functionality
With these changes TEMPLATE_FLAVORS can be self contained and not polute code space
2014-10-21 09:12:05 -04:00
Jason Mehring
82113fd174
Added TODO list for cleaning up debian source tree
2014-10-20 21:02:24 -04:00
Jason Mehring
aef3f12097
Make sure the logged in user name is used for su <user> -c
2014-10-20 19:45:23 -04:00
Jason Mehring
5d3d538c92
need to be sudo to install template
2014-10-20 12:25:31 -04:00
Jason Mehring
60b7f2fa7a
Added facl function to restore file permissions on files copied to image
2014-10-19 19:36:59 -04:00
Jason Mehring
86ca300413
Remove stale snapshots
2014-10-19 04:23:19 -04:00
Jason Mehring
8de6493230
Remove UPDATE
2014-10-19 01:18:58 -04:00
Jason Mehring
3da7d92dc8
Renamed create-template-list.sh to create_template_list.sh; overwrite file each time
2014-10-18 10:53:11 -04:00
Jason Mehring
c87c046fe1
Added a create-template-list.sh which can be used to get new templates from dom0
2014-10-18 08:59:21 -04:00
Jason Mehring
64093db75a
deb commit for modified packages should be working now
2014-10-17 23:34:01 -04:00
Marek Marczykowski-Górecki
6931ad9457
Merge remote-tracking branch 'nrgaway/wheezy' into wheezy
2014-10-17 23:08:01 +02:00
Jason Mehring
c19c9a579a
Pinned sysvinit again; lets see if it will prevent it from being re-installed
...
Added more configurations to attempt to build Whonix un-attended
2014-10-17 00:24:00 -04:00
Jason Mehring
12d3808282
Changed user id from $USER ro user since $USER was root
2014-10-16 18:00:26 -04:00
Jason Mehring
4e2a9158a8
Added snapshot for debootstrap completion and when system is updated with extra packages before Whonix is installed for debugging only (SNAPSHOT must be set to "1"
...
Tweaked Whonix configurations some more so it should now run without errors
2014-10-16 16:05:28 -04: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
fb1a2dbf92
make sure we do not initialize Whonix submodules as root
2014-10-15 09:01:41 -04:00
Jason Mehring
532e31312b
fixed some permission issues created when init whonix submodules
2014-10-15 07:16:09 -04:00
Jason Mehring
0b473a6333
remove stray shebang
2014-10-15 03:00:19 -04:00
Jason Mehring
ddbb97a2a3
Added additional configurations to allow Whonix to boot with tor enabled
2014-10-15 02:57:19 -04:00
Jason Mehring
f5d9341e6a
Moved Whonix submodules init and patches from qubes-builder here to keep everything in one place
2014-10-14 18:26:01 -04:00
Jason Mehring
5aa39eee6f
Moved old NOTES from qubes-builder to here
2014-10-14 18:01:59 -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
c1938374e2
Changed qubeize_image back to use set -e not set -x
2014-10-14 14:29:14 -04:00
Jason Mehring
8c212df88f
Changed wheezy backports to use DEBIAN_MIRROR address and added a wheezy conditional to unistall sysvinit differently then jessie
2014-10-14 14:26:56 -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
b689cb03b3
fedora: use template-builder's yum.conf when installing 3rd party pkgs
...
Otherwise VM-specific config entries would be used, which would not work
inside chroot (namely - proxy settings).
2014-10-08 13:20:20 +02:00
Marek Marczykowski-Górecki
009df31f74
Include (empty) apps.tempicons directory ( #896 )
...
In the future we could create it (and populate) in firstboot, but for
now provide at least empty directory.
2014-09-09 22:04:45 +02:00
Victor Lopez
97730dcf62
Avoid 100MB reserved space in private ext4 partition
...
The ext4 reserved space is necessary for root partitions, but in the
private.img data partition, it is wasted space (accessible only to root
processes), which means losing 100 MB of the default 2GB.
From mkfs.ext4 man page:
"-m reserved-blocks-percentage Specify the percentage of the filesystem
blocks reserved for the super-user." ... "The default percentage is 5%."
2014-09-05 22:41:14 +02:00
Olivier MEDOC
af6a4118db
archlinux: template flavor support including "minimal" template
2014-08-02 23:58:06 +02:00
Olivier MEDOC
39db9786c4
archlinux: remove linux kernel from the base install so that it can be selected manually in packages.list
2014-08-02 23:58:06 +02:00
Olivier MEDOC
2306b2286b
archlinux: update current is version
2014-08-02 23:58:05 +02:00
Marek Marczykowski-Górecki
abe4276bca
version 2.1.7
2014-07-28 18:56:05 +02:00
Marek Marczykowski-Górecki
3d2c47848a
debian: add default appmenus for 'jessie' version
2014-07-28 18:55:37 +02:00
Marek Marczykowski-Górecki
b489770955
debian: move keyboard layout setting earlier
...
As the keyboard-configuration package is installed earlier now.
2014-07-28 18:54:52 +02: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
d10c0b67c2
Add Xorg server to common package set
...
To have it installed in first phase, which will not be repeated each
time template is built. Save time and network bandwidth.
2014-07-28 18:53:40 +02:00
Marek Marczykowski-Górecki
fc19af6e5f
debian: fix "stdin: is not a tty" message
2014-07-27 05:56:34 +02:00
Marek Marczykowski-Górecki
fc6d13f9b5
debian: do not ask for keyboard layout during template creation
2014-07-27 05:56:02 +02:00
Marek Marczykowski-Górecki
dd3eb2ee5c
debian: builder repo no longer has "apt" subdir
2014-07-27 05:55:37 +02:00
Marek Marczykowski-Górecki
53c79a8363
debian: set default target of multi-user.target
2014-07-26 16:54:56 +02:00
Marek Marczykowski-Górecki
04da34e545
debian: create /etc/mtab as symlink to /proc/self/mounts
...
Recommended by systemd.
2014-07-26 16:26:09 +02:00
Marek Marczykowski-Górecki
178d120182
debian: use http.debian.net mirror redirector
2014-07-26 16:25:54 +02:00
Marek Marczykowski-Górecki
0fb7163938
debian: minor fix
2014-07-26 04:35:32 +02:00
Marek Marczykowski-Górecki
7a30c07776
debian: create /lib/modules mountpoint
2014-07-26 04:35:20 +02:00
Marek Marczykowski-Górecki
290a8a65f8
debian: use real apt repo for qubes packages installation
2014-07-26 04:35:11 +02:00