fix: 🐛 fix copying

This commit is contained in:
Adrian Wannenmacher 2021-02-10 22:02:46 +01:00
parent 3c018e29ed
commit 0bbca8b8ff
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -64,7 +64,7 @@ function create_uki -d "creates a new uki"
# os-release
cp /usr/lib/os-release "$bp/os-release"
sed "s/BUILD_ID=.*/BUILD_ID=\"fallback\"/" </usr/lib/os-release >"$bp/os-release-fallback"
sed "s/BUILD_ID=.*/BUILD_ID=fallback/" </usr/lib/os-release >"$bp/os-release-fallback"
sed "s/BUILD_ID=.*/BUILD_ID=\"snapshot $SNAPSHOT_ID\"/" </usr/lib/os-release >"$bp/os-release-snapshot"
# kernel cmd
@ -103,7 +103,7 @@ function main -d "the main function"
get_last_snapshot
create_uki
cp "$BUILD_PATH/$SNAPSHOT_ID/*.efi" "$EFI_DIR"
cp $BUILD_PATH/$SNAPSHOT_ID/*.efi "$EFI_DIR"
exit 0
end