Good morning, I am currently trying to build a MS...
# fleet
j
Good morning, I am currently trying to build a MSI Package with Orbit. I keep getting the following error when building.
error="rename msi: rename /tmp/orbit-package2439375703/orbit.msi orbit-osquery_0.0.3.msi: invalid cross-device link"
Could anyone point me in the right direction.
c
There is a permission error when renaming
orbit.msi
. If you look in the
/tmp/orbit-package2439375703
directory you should have an
orbit.msi
which should work
Let me know if you have any issues, I spent a few days troubleshooting this to get it to work
j
Thank you. I have looked, when the package fails it removes the /tmp/orbit* anytime I try to create one.
I was able to grab it by copying before it deleted
👍 1
c
Cool, you can also comment out line 25
defer os.RemoveAll(tmpDir)
in https://github.com/fleetdm/fleet/blob/main/orbit/pkg/packaging/windows.go if need be