[LU-17347] make debs is ignoring some output files (ddeb) Created: 08/Dec/23  Updated: 20/Dec/23  Resolved: 20/Dec/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Aurelien Degremont Assignee: Aurelien Degremont
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

When building debian packages, the resulting packages are moved into a debs/ subdir. Debian build process is actually creating move than a set of deb filesand some metadata files but also debug symbol packages, which are suffixed .ddeb.

Let's fix the mv part of autoMakefile to take that in account.

A better fix could have been to tell debian tools that the output directory is 'debs/', instead of the default '..'. This is possible and that page explains how https://www.patreon.com/posts/building-debian-23177439. However this needs to be slightly adapted for Lustre, and also the dpkg tool suite has evolved and some workarounds do not work the same way depending on dpkg version, making the fix a bit more complex.

 



 Comments   
Comment by Gerrit Updater [ 08/Dec/23 ]

"Aurelien Degremont <adegremont@nvidia.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53378
Subject: LU-17347 debs: also move .ddeb files into debs/
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 0ace133af37e4d44592f3e3a9c4778b03089069c

Comment by Gerrit Updater [ 20/Dec/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/53378/
Subject: LU-17347 debs: also move .ddeb files into debs/
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0dc209d7c58cc0ab500291ea6df65a132ef6375d

Comment by Peter Jones [ 20/Dec/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:34:42 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.