Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 803 Bytes

macros.ssuks

File metadata and controls

17 lines (17 loc) · 803 Bytes
 
1
2
3
# copy all the relevant files for kickstart generation both from system and
# newly installed into sandbox for ssuks; then create rnd and release kickstarts
# for all devices listed.
Apr 24, 2013
Apr 24, 2013
4
%gen_ks() \
5
6
7
8
9
10
11
12
13
mkdir -p /tmp/sandbox/%{_datadir} \
[ -d %{_datadir}/ssu ] && cp -Rf %{_datadir}/ssu /tmp/sandbox/%{_datadir}/ \
rm -f /tmp/sandbox/%{_datadir}/ssu/board-mappings.ini \
cp -R %{buildroot}/%{_datadir}/ssu /tmp/sandbox/%{_datadir}/ \
rm -f %{buildroot}/%{_datadir}/ssu/board-mappings.ini \
mkdir -p %{buildroot}/%{_datadir}/kickstarts \
sleep 1 \
for M in %{?*}; do \
for B in true false; do \
Oct 2, 2013
Oct 2, 2013
14
ssuks %{?ssu_override} model="$M" sandbox=/tmp/sandbox outputdir=%{buildroot}/%{_datadir}/kickstarts/ rnd=$B version=%{version} \
15
16
17
done \
done \
%{nil}