fix: 🐛 fix copying
This commit is contained in:
parent
3c018e29ed
commit
0bbca8b8ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user