Wasn’t sure if this belonged in General or the scripting/API section (since it’s related to “branding” and automated setup). Feel free to move it!
I have inherited someone else’s setup using netinstall and then GenieACS/TR-069 to provision and then manage devices. There are TR-069 commands to update ROS on devices (hAP AX2&3) along with a .dpk / “branding” package, and then reboot the device.
Is there any way I can “extract” the branding package / dpk file on a computer to see what it does, or so I can make a new version of it? Or do I need to have the original source files that generated the dpk in order to make a new one?
Awesome, I tried running it through file and it just told me it was “data,” I wouldn’t have thought it was something 7z could handle.
WARNINGS:
There are data after the end of archive
--
Path = [redacted].dpk
Type = SquashFS
WARNINGS:
There are data after the end of archive
Offset = 65536
Physical Size = 24576
Tail Size = 81
Headers Size = 4596
File System = SquashFS 4.0
Method = XZ
Cluster Size = 262144
Big-endian = -
Created = 2025-06-05 11:59:40
Characteristics = DUPLICATES_REMOVED EXPORTABLE NO_XATTRS
Code Page = UTF-8
Everything is Ok
Archives with Warnings: 1
Warnings: 1
Folders: 14
Files: 19
Size: 98949
Compressed: 90193
I’m a little concerned about the warning, but I’m seeing files that make sense to me, so i’m way better off than before. Thanks!