Hi team! another issue. I'm trying to figure out h...
# fleet
b
Hi team! another issue. I'm trying to figure out how to upload PKG files to Fleet without it pulling the default title SU_TITLE. I am aware that I can change it afterwards, but for software that I need to install in a specific order during the setup experience, changing the display title currently does not help (though I have a separate ticket for that in github that I think is getting resolved in 4.82) My question is, what do I need to do before flattening a PKG file in order for it to pick up the correct title in Fleet? I was combing through
xar.go
trying to figure it out but cannot. https://github.com/fleetdm/fleet/blob/main/pkg/file/xar.go Based on what I'm reading, I assume that I need to set
<title>
in the top level
Distribution
file but that doesn't seem to work.
I have also tried setting
<name>
in the top level
Distribution
file and that also does not work
u
Hey @Billy H, not sure how we missed your question, I'm really sorry about that. I'll be looking into this one for you shortly!
b
No worries, thanks Gray!
u
Interesting that you're just seeing SU_TITLE. We're having a discussion about this and I'll get back to you as soon as I can!
b
Sounds good! If it helps the discussion at all, the PKG I am trying to get the name to set on is the Command Line tools for Xcode PKG file that can be extracted from the DMG here: https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_26.3/Command_Line_Tools_for_Xcode_26.3.dmg
👀 1
g
Have this added to my test instance now and also seeing the same thing.
👍🏻 1
Copy code
- Name: 'SU_TITLE'
- Bundle Identifier: 'com.apple.pkg.CLTools_SDK_macOS110'
- Package IDs: 'CLTools_Executables,com.apple.pkg.CLTools_SDK_macOS110,com.apple.pkg.CLTools_SDK_macOS12,com.apple.pkg.CLTools_SDK_macOS13,com.apple.pkg.CLTools_SDK_macOS14,com.apple.pkg.CLTools_SDK_macOS_LMOS,com.apple.pkg.CLTools_SDK_macOS_NMOS,com.apple.pkg.CLTools_SwiftBackDeploy,com.apple.pkg.CLTools_macOS_SDK'
- Version: 26.3.0.0.1.1769666919
Copy code
/tmp/cmdtools/Distribution:    <title>SU_TITLE</title>
/tmp/cmdtools/Distribution:    <choice id="manual" title="SU_TITLE">
@Billy H Found two places that's referenced. Ultimately, I think this could be a feature request to better handle this during upload.
b
ah so while testing, I did change both of those in the distribution file to "Command Line Tools for Xcode" and it still would pull SU_TITLE
😞 1
g
I'm going to get a feature request opened to better handle this rare case of Apple doing Apple things. I'll let you know the issue number as soon as it's up!
b
sounds good, thanks @Gray Williams!
👍 1
g
b
thanks gray!