red-hat-storage / rhcephcompose

A tool to compose releases of Red Hat Ceph Storage for Ubuntu
MIT License
1 stars 1 forks source link

store dbg packages in main repositories #70

Open ktdreyer opened 6 years ago

ktdreyer commented 6 years ago

Currently we put all the dbg packages into a separate top-level "COMPOSE_ID-dbg" directory. This is bad for a few reasons:

The primary reason we do this is because we want to keep the ISO file size down.

The ISO is a 1:1 copy of what is in the "online" repositories. The ISO generation step is really simple: merfi iso just execs genisoimage -r -o outputdir topdir, where topdir is the top-level directory for the whole compose.

It would be better to make rhcephcompose work in stages here.

1) Generate an "ISO" tree of the variants's repos without dbg packages. 2) Generate an ISO file from that tree. 3) Add the dbg packages to the variants' repos. 4) Those are the "online" repos.

This will require exec'ing merfi as part of rhcephcompose https://github.com/red-hat-storage/rhcephcompose/issues/10

We should be able to do this work without drastically changing the compose directory tree layout we expose to the QE team.

RCM's pub job configuration may need to change to avoid handling the non-existing -dbg directory.

ktdreyer commented 6 years ago

Probably need to use hardlinks here, because it's going to be a lot of extra disk space to copy those dbg packages three times.