Clayton Craft
d03257981f
bootdeploy: add context to kernel copy fd close error (MR 33)
2023-03-06 22:20:11 -08:00
Clayton Craft
307fb1889f
bootdeploy: use original kernel filename when calling boot-deploy (MR 33)
...
fixes #21
2023-03-06 22:20:07 -08:00
Clayton Craft
fa3d3268d7
bootdeploy: catch any errors when closing kernel file copy fd
2023-03-05 23:56:58 -08:00
Clayton Craft
d87a33a751
bootdeploy: remove dependency on misc.Exists
...
Checking for the app is unnecessary, since the cmd.Run later will fail
if it doesn't exist. This allows dropping the dependency on misc.Exists.
There's also no reason to print that the command failed, just return the
error.
2023-02-21 12:41:18 -08:00
Clayton Craft
9bb326be91
bootdeploy: describe copyUbootFiles
2023-02-21 00:47:05 -08:00
Clayton Craft
0545d68b1d
bootdeploy: return errors from writing copy
2023-02-21 00:47:05 -08:00
Clayton Craft
a8bb10ce9c
bootdeploy: copy implementation from cmd/mkinitfs
2023-02-21 00:47:04 -08:00
Clayton Craft
5e65ace958
internal/bootdeploy: add new package
...
As a stub, but will be implemented soon...
2023-02-21 00:47:04 -08:00