mkdir and %files
This commit is contained in:
parent
387f5d5e27
commit
e42173b9a0
@ -26,6 +26,8 @@ echo "Nothing to prepare"
|
|||||||
echo "Nothing to build"
|
echo "Nothing to build"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/boot/efi
|
||||||
cp ${SOURCE0} $RPM_BUILD_ROOT/boot/efi/boot.cmd
|
cp ${SOURCE0} $RPM_BUILD_ROOT/boot/efi/boot.cmd
|
||||||
cp ${SOURCE1} $RPM_BUILD_ROOT/boot/efi/uEnv.txt
|
cp ${SOURCE1} $RPM_BUILD_ROOT/boot/efi/uEnv.txt
|
||||||
|
|
||||||
@ -55,3 +57,6 @@ cp /boot/uInitrd-${UNAME_R} /boot/uInitrd
|
|||||||
|
|
||||||
diff /boot/efi/boot.cmd /boot/efi/boot.cmd-%{full_ver} > /boot/diff_boot_cmd
|
diff /boot/efi/boot.cmd /boot/efi/boot.cmd-%{full_ver} > /boot/diff_boot_cmd
|
||||||
diff /boot/efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver} > /boot/diff_uenv_txt
|
diff /boot/efi/uEnv.txt /boot/efi/uEnv.txt-%{full_ver} > /boot/diff_uenv_txt
|
||||||
|
|
||||||
|
%files
|
||||||
|
/boot/*
|
||||||
|
Loading…
Reference in New Issue
Block a user