Should rdsetroot be able to edit gzip'd files? I am not sure about that. BTW, at least one arch bsd.rd's has been gzip'd over the decades, so this is simply an observation on a common architecture, it has been with us forever.
Daniel Jakots <d...@chown.me> wrote: > Hi, > > Running -current amd64, I fetched a -current amd64 bsd.rd, then run > $ rdsetroot -x bsd.rd ramdisk > rdsetroot: bsd.rd: not an elf > > I didn't expect that, so I run file on it which said > bsd.rd: gzip compressed data, max compression, from Unix > > I naively tried to gunzip it: > $ mv bsd.rd bsd.rd.gz && gunzip bsd.rd.gz > $ file bsd.rd > bsd.rd: ELF 64-bit LSB executable, x86-64, version 1 > > so I ran rdsetroot again > $ rdsetroot -x bsd.rd ramdisk > rdsetroot: symbol table not found > > > I guess it's because of > https://github.com/openbsd/src/commit/aa6c3ec2488169493ed4877eea65efb00c967050 > > > Is it because now bsd.rd is stripped and rdsetroot needs to be updated > to not expect a symbol table? Or am I missing something? > > > Cheers, > Daniel >