Marek Marczykowski-Górecki
6cbac4b4e0
Rename TIMESTAMP variable to TEMPLATE_TIMESTAMP
...
Make it explicit that it's about template. Allow setting it from the
outside, to make predictable template version.
QubesOS/qubes-issues#3935
6 years ago
Marek Marczykowski-Górecki
1c7006b829
Mark phony targets
6 years ago
Marek Marczykowski-Górecki
47ea5b90ea
Fix handling TEMPLATE_LABEL when calculating template name
...
Yet another case of make not passing exported variables to $(shell ...)
(https://savannah.gnu.org/bugs/?10593 ). Here it applies when
builder.conf was loaded in the same make instance - make
--eval='include builder.conf' call from check-release-status script.
QubesOS/qubes-issues#3935
6 years ago
Marek Marczykowski-Górecki
0a8e29571f
Add 'sign' target
...
This will ease signing just one template, instead of checking all of
them for the unsigned one(s).
6 years ago
Frédéric Pierret
75ca54bea6
Add support for defining QubesOS repository mirror
6 years ago
Marek Marczykowski-Górecki
310837b4ee
Add configurable template root volume size
...
Allow to override default 10G.
6 years ago
Frédéric Pierret
4d73c0abc7
Add CENTOS & EPEL mirror definition
7 years ago
Frédéric Pierret
5da4426ac3
Rename REPO_BASEURL_PREFIX to FEDORA_MIRROR for consistency with builder-debian
7 years ago
Frédéric Pierret
0ec5146368
TEMPLATE_ENV_WHITELIST: add REPO_BASEURL_PREFIX
7 years ago
Frédéric Pierret
aeed2f1fc8
Add support for templates upload and syncing
7 years ago
Marek Marczykowski-Górecki
fe05ad6935
Use more generic variable for not keeping prepared image
...
Use this:
DISCARD_PREPARED_IMAGE=1
7 years ago
Marek Marczykowski-Górecki
7c053165f3
Whitelist APPMENUS_DIR setting
7 years ago
fepitre
d1564aa351
Update in 'help' target for 'make clean' description
7 years ago
Marek Marczykowski-Górecki
061eb5dc02
Add TEMPLATE_OPTIONS to whitelisted environment variables
...
QubesOS/qubes-issues#2954
7 years ago
Marek Marczykowski-Górecki
5de7c6deed
template: add SRC_DIR to environment vars whitelist
...
It is needed to calculate path to individual components.
7 years ago
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...
7 years ago
Marek Marczykowski-Górecki
508e9cdfe0
Fix update-repo-installer target - correct timestamp file
9 years ago
Marek Marczykowski-Górecki
af8cd92285
Improve handling root.img build alone
...
Provide separate make targets: rootimg-build (root.img) and package
(make the rpm).
9 years ago
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).
9 years ago
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.
9 years ago
Jason Mehring
6bc56dd7cd
export DISTRIBUTION and TEMPLATE_NAME
9 years ago
Marek Marczykowski-Górecki
ce319754e2
Preliminary support for building in DispVM
10 years ago
Jason Mehring
deb4cbd867
Added ability to name tempaltes within configuration file and check/fix to make sure names under 32 characters
10 years ago
Jason Mehring
3da7d92dc8
Renamed create-template-list.sh to create_template_list.sh; overwrite file each time
10 years ago
Jason Mehring
c87c046fe1
Added a create-template-list.sh which can be used to get new templates from dom0
10 years ago
Marek Marczykowski-Górecki
fa134bd512
Less naive method of template name construction
10 years ago
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.
10 years ago
Marek Marczykowski-Górecki
9c9f8d3ee5
Remove old copy of packages_fc18.list
...
It isn't used since move fedora scripts to scripts_fedora.
11 years ago
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.
11 years ago
Marek Marczykowski
4c8f1755d9
Merge branch 'archlinux'
...
Conflicts:
.gitignore
Makefile
build_template_rpm
templates.spec
11 years ago
Marek Marczykowski
6a3a51701b
Update update-repo-installer make target to new builder API
11 years ago
Marek Marczykowski
c5465b4355
makefile: one more fix for multiple template rpms
11 years ago
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.
11 years ago
Marek Marczykowski
4123d2fdec
Update comment in makefile
11 years ago
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.
11 years ago
Marek Marczykowski
fdadd4aff8
fedorize_image: support per-DIST packages.list
12 years ago
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...).
12 years ago
Marek Marczykowski
e25fed755a
reduce verbosity based on $VERBOSE variable
12 years ago
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).
12 years ago
Joanna Rutkowska
3c45a87e87
Makefile: remove unecessary export
12 years ago
Joanna Rutkowska
fcf4b4b86f
Fix automatic template versioning ( #667 )
12 years ago
Joanna Rutkowska
bd73bf990a
Automatic template versioning ( #667 )
...
Use version no of the following form:
$(version)-$(timestamp)
12 years ago
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.
12 years ago
Joanna Rutkowska
d0d1447e2b
cleanup fixes
13 years ago
Joanna Rutkowska
fbdfbf9363
Makefile: clean: remove content of rpmbuild/
13 years ago
Joanna Rutkowska
64a2cc39d1
Makefile: add clean target
13 years ago
Joanna Rutkowska
6ade820ca3
Introduing the Makefile
13 years ago