mkdir and %files
This commit is contained in:
parent
387f5d5e27
commit
e42173b9a0
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,8 @@ echo "Nothing to prepare"
|
|||
echo "Nothing to build"
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/boot/efi
|
||||
cp ${SOURCE0} $RPM_BUILD_ROOT/boot/efi/boot.cmd
|
||||
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/uEnv.txt /boot/efi/uEnv.txt-%{full_ver} > /boot/diff_uenv_txt
|
||||
|
||||
%files
|
||||
/boot/*
|
||||
|
|
Loading…
Reference in a new issue