Frédéric Pierret
5da4426ac3
Rename REPO_BASEURL_PREFIX to FEDORA_MIRROR for consistency with builder-debian
2017-11-05 10:43:25 -05:00
Frédéric Pierret
0ec5146368
TEMPLATE_ENV_WHITELIST: add REPO_BASEURL_PREFIX
2017-11-02 09:04:09 -04:00
Frédéric Pierret
aeed2f1fc8
Add support for templates upload and syncing
2017-10-29 14:31:02 -04:00
Marek Marczykowski-Górecki
fe05ad6935
Use more generic variable for not keeping prepared image
...
Use this:
DISCARD_PREPARED_IMAGE=1
2017-09-26 02:48:35 +02:00
Marek Marczykowski-Górecki
7c053165f3
Whitelist APPMENUS_DIR setting
2017-09-06 18:58:43 +02:00
fepitre
d1564aa351
Update in 'help' target for 'make clean' description
2017-08-25 16:00:45 +02:00
Marek Marczykowski-Górecki
061eb5dc02
Add TEMPLATE_OPTIONS to whitelisted environment variables
...
QubesOS/qubes-issues#2954
2017-08-10 12:23:15 +02:00
Marek Marczykowski-Górecki
5de7c6deed
template: add SRC_DIR to environment vars whitelist
...
It is needed to calculate path to individual components.
2017-07-29 11:19:08 +02:00
Marek Marczykowski-Górecki
a97fe13c1b
Filter environment exposed to template build scripts
...
Do not expose host envionment there. This, among other things, fixes some
packages that create/modify /home/user ($HOME) in post-installation
script...
2017-06-24 01:28:36 +02:00
Marek Marczykowski-Górecki
508e9cdfe0
Fix update-repo-installer target - correct timestamp file
2015-03-19 22:58:50 +01:00
Marek Marczykowski-Górecki
af8cd92285
Improve handling root.img build alone
...
Provide separate make targets: rootimg-build (root.img) and package
(make the rpm).
2015-03-17 15:05:14 +01: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
Marek Marczykowski-Górecki
f22a06d8ad
Store root image named 'root.img' inside of tar archive
...
Prevent renaming at installation, this will make the process cleaner.
2015-03-10 23:57:12 +01:00
Jason Mehring
6bc56dd7cd
export DISTRIBUTION and TEMPLATE_NAME
2015-02-14 12:31:13 -05:00
Marek Marczykowski-Górecki
ce319754e2
Preliminary support for building in DispVM
2015-01-30 15:35:00 +01:00
Jason Mehring
deb4cbd867
Added ability to name tempaltes within configuration file and check/fix to make sure names under 32 characters
2014-10-24 16:17:29 -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
Marek Marczykowski-Górecki
fa134bd512
Less naive method of template name construction
2014-07-26 04:30:31 +02:00
Marek Marczykowski-Górecki
a77a635016
template flavor support ( #828 )
...
Set TEMPLATE_FLAVOR variable to select template to build. That type will
be appended to template name.
Actual configuration can vary on template distribution, but generally
config files with suffix "_${TEMPLATE_FLAVOR}" will be used.
2014-05-13 04:40:09 +02:00
Marek Marczykowski-Górecki
9c9f8d3ee5
Remove old copy of packages_fc18.list
...
It isn't used since move fedora scripts to scripts_fedora.
2013-12-15 17:57:56 +01:00
Marek Marczykowski
30155ba17b
Fix template-repo handling - chown it and clean only current one
...
Without chown, normal user cannot remove it (in next
prepare-repo-template). Also fix prepare-repo-template to clean only
current repo, not all of them.
2013-04-28 22:36:51 +02:00
Marek Marczykowski
4c8f1755d9
Merge branch 'archlinux'
...
Conflicts:
.gitignore
Makefile
build_template_rpm
templates.spec
2013-04-28 06:08:18 +02:00
Marek Marczykowski
6a3a51701b
Update update-repo-installer make target to new builder API
2013-03-20 15:24:15 +01:00
Marek Marczykowski
c5465b4355
makefile: one more fix for multiple template rpms
2013-02-24 14:48:29 +01:00
Marek Marczykowski
99e9e0351d
makefile: Fix building many different template rpm packages at the same time
...
Store build_timestamp for each built template to not mix them up in
update-repo-installer.
2013-02-24 13:33:57 +01:00
Marek Marczykowski
4123d2fdec
Update comment in makefile
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
Marek Marczykowski
fdadd4aff8
fedorize_image: support per-DIST packages.list
2013-02-07 23:29:14 +01:00
Olivier Medoc
7e17847377
template_builder: made make scripts OS independent.
...
An important note is that each OS script need to setup itself its own chroot environment (like creating /proc...).
2013-02-06 02:53:30 +01:00
Marek Marczykowski
e25fed755a
reduce verbosity based on $VERBOSE variable
2012-11-18 04:01:49 +01:00
Marek Marczykowski
fdea5277cd
qubeize_image: use yum repo for Qubes-specific rpms instead of symlinks
...
This would simplify changes in package list and (more important) make
template-builder independent of layout of other repos (eg location of version
file).
2012-11-14 16:12:18 +01:00
Joanna Rutkowska
3c45a87e87
Makefile: remove unecessary export
2012-11-06 13:33:19 +01:00
Joanna Rutkowska
fcf4b4b86f
Fix automatic template versioning ( #667 )
2012-11-06 10:43:45 +01:00
Joanna Rutkowska
bd73bf990a
Automatic template versioning ( #667 )
...
Use version no of the following form:
$(version)-$(timestamp)
2012-11-05 15:45:06 +01:00
Marek Marczykowski
f9132e0d8d
fedorize_image: install kernel-placeholder package instead of real kernel ( #645 )
...
Some packages depends on kernel pkg, so must be installed in fedorize stage.
2012-07-24 03:51:13 +02:00
Joanna Rutkowska
d0d1447e2b
cleanup fixes
2011-11-09 17:14:09 +01:00
Joanna Rutkowska
fbdfbf9363
Makefile: clean: remove content of rpmbuild/
2011-11-09 16:36:02 +01:00
Joanna Rutkowska
64a2cc39d1
Makefile: add clean target
2011-11-09 12:49:54 +01:00
Joanna Rutkowska
6ade820ca3
Introduing the Makefile
2011-11-06 14:02:39 +01:00