1 ##############################################################################
2 # Copyright (c) 2015 Ericsson AB and others.
3 # stefan.k.berg@ericsson.com
4 # jonas.bjurel@ericsson.com
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
16 grep -q OpenStack_Fuel ks.cfg.iso
17 sed "s/OpenStack_Fuel/$(PRODNO)_$(REVSTATE)/g" ks.cfg.iso > ks.cfg
18 /usr/bin/patch -p0 < ks.cfg.patch
19 @cp ks.cfg.iso release/ks.cfg.orig
20 @cp ks.cfg release/ks.cfg
23 7z -so x $(ISOCACHE) ks.cfg > ks.cfg.iso
27 @rm -rf release ks.cfg.iso ks.cfg
31 @cp -Rvp release/* ../release
33 #############################################################################
34 # Cache operations - only used when building through ci/build.sh
35 #############################################################################
37 # Clean local data related to caching - called prior to ordinary build
40 @echo "clean-cache not implemented"
42 # Try to download cache - called prior to ordinary build
45 @echo "get-cache not implemented"
47 # Store cache if not already stored - called after ordinary build
50 @echo "put-cache not implemented"