Merge branch 'master' of git://git.qubes-os.org/marmarek/template-builder
This commit is contained in:
commit
1358f2dd5b
4
Makefile
4
Makefile
@ -6,6 +6,8 @@ TEMPLATE_NAME := $${DIST/fc/fedora-}-x64
|
|||||||
VERSION := $(shell cat version)
|
VERSION := $(shell cat version)
|
||||||
TIMESTAMP := $(shell date -u +%Y%m%d%H%M)
|
TIMESTAMP := $(shell date -u +%Y%m%d%H%M)
|
||||||
|
|
||||||
|
PKGLISTFILE := $(shell [ -r clean_images/packages_$(DIST).list ] && echo clean_images/packages_$(DIST).list || echo clean_images/packages.list)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo "make rpms -- generate template rpm"
|
@echo "make rpms -- generate template rpm"
|
||||||
@echo "make update-repo-installer -- copy newly generated rpm to installer repo"
|
@echo "make update-repo-installer -- copy newly generated rpm to installer repo"
|
||||||
@ -16,7 +18,7 @@ rpms:
|
|||||||
@echo $(TIMESTAMP) > build_timestamp
|
@echo $(TIMESTAMP) > build_timestamp
|
||||||
@echo "Building template: $(TEMPLATE_NAME)"
|
@echo "Building template: $(TEMPLATE_NAME)"
|
||||||
@createrepo -q -g $$PWD/comps-qubes-template.xml yum_repo_qubes/$(DIST) -o yum_repo_qubes/$(DIST) && \
|
@createrepo -q -g $$PWD/comps-qubes-template.xml yum_repo_qubes/$(DIST) -o yum_repo_qubes/$(DIST) && \
|
||||||
sudo -E ./fedorize_image fedorized_images/$(TEMPLATE_NAME).img clean_images/packages.list && \
|
sudo -E ./fedorize_image fedorized_images/$(TEMPLATE_NAME).img $(PKGLISTFILE) && \
|
||||||
sudo -E ./qubeize_image fedorized_images/$(TEMPLATE_NAME).img $(TEMPLATE_NAME) && \
|
sudo -E ./qubeize_image fedorized_images/$(TEMPLATE_NAME).img $(TEMPLATE_NAME) && \
|
||||||
./build_template_rpm $(TEMPLATE_NAME) || exit 1; \
|
./build_template_rpm $(TEMPLATE_NAME) || exit 1; \
|
||||||
|
|
||||||
|
Binary file not shown.
BIN
base_rpms_fc18/fedora-release-18-1.noarch.rpm
Normal file
BIN
base_rpms_fc18/fedora-release-18-1.noarch.rpm
Normal file
Binary file not shown.
22
clean_images/packages_fc18.list
Normal file
22
clean_images/packages_fc18.list
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
@^gnome-desktop-environment
|
||||||
|
@libreoffice
|
||||||
|
emacs
|
||||||
|
vim-enhanced
|
||||||
|
gnupg
|
||||||
|
xterm
|
||||||
|
firefox
|
||||||
|
thunderbird
|
||||||
|
keepassx
|
||||||
|
perl-File-MimeInfo
|
||||||
|
Terminal
|
||||||
|
--exclude=kdegames
|
||||||
|
--exclude=firstboot
|
||||||
|
--exclude=xorg-x11-drv-nouveau
|
||||||
|
--exclude=firewall-config,firewalld
|
||||||
|
--exclude=gnome-boxes
|
||||||
|
git
|
||||||
|
createrepo
|
||||||
|
rpm-build
|
||||||
|
qubes-core-vm-kernel-placeholder
|
||||||
|
ltrace
|
||||||
|
strace
|
@ -20,6 +20,7 @@ Requires: kernel-qubes-vm
|
|||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
Requires(post): tar
|
Requires(post): tar
|
||||||
Requires(post): qubes-core-dom0
|
Requires(post): qubes-core-dom0
|
||||||
|
Provides: qubes-template
|
||||||
|
|
||||||
%define _builddir %(pwd)
|
%define _builddir %(pwd)
|
||||||
%define _rpmdir %(pwd)/rpm
|
%define _rpmdir %(pwd)/rpm
|
||||||
|
Loading…
Reference in New Issue
Block a user