Skip to content

Update ipmitool version to ipmitool_1.8.19-4+deb12u1 - #20241

Merged
baxia-lan merged 1 commit into
sonic-net:masterfrom
baxia-lan:ipmitool-version
Sep 12, 2024
Merged

Update ipmitool version to ipmitool_1.8.19-4+deb12u1#20241
baxia-lan merged 1 commit into
sonic-net:masterfrom
baxia-lan:ipmitool-version

Conversation

@baxia-lan

@baxia-lan baxia-lan commented Sep 12, 2024

Copy link
Copy Markdown
Contributor

Why I did it

ipmitool_1.8.19-4 is obsolete(https://deb.debian.org/debian/pool/main/i/ipmitool/)

[ FAIL LOG START ] [ target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb ]                                                                                                                                                                                                                                                                     
Build start time: Thu Sep 12 05:20:43 UTC 2024                                                                                                                                                                                                                                                                                              
[ REASON ] :      target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb does not exist                                                                                                                                                                                                                                                           
[ FLAGS  FILE    ] : []                                                                                                                                                                                                                                                                                                                     
[ FLAGS  DEPENDS ] : []                                                                                                                                                                                                                                                                                                                     
[ FLAGS  DIFF    ] : []                                                                                                                                                                                                                                                                                                                     
make[1]: Entering directory '/sonic/src/ipmitool'                                                                                                                                                                                                                                                                                           
# Remove any stale files                                                                                                                                                                                                                                                                                                                    
rm -rf ./ipmitool-1.8.19 ./ipmitool*.{deb,udeb,dsc,gz,xz}                                                                                                                                                                                                                                                                                   
# Obtain ipmitool                                                                                                                                                                                                                                                                                                                           
dget https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc                                                                                                                                                                                                                                                               
# Build source and Debian packages                                                                                                                                                                                                                                                                                                          
pushd ipmitool-1.8.19                                                                                                                                                                                                                                                                                                                       
git init                                                                                                                                                                                                                                                                                                                                    
git add -f *                                                                                                                                                                                                                                                                                                                                
git commit -m "unmodified ipmitool source"                                                                                                                                                                                                                                                                                                  
# Apply patches                                                                                                                                                                                                                                                                                                                             
stg init                                                                                                                                                                                                                                                                                                                                    
stg import -s ../patch/series                                                                                                                                                                                                                                                                                                               
dpkg-buildpackage -rfakeroot -d -b -us -uc -j64 --admindir /sonic/dpkg/tmp.31D3bY6wXT                                                                                                                                                                                                                                                       
popd                                                                                                                                                                                                                                                                                                                                        
mv ipmitool_1.8.19-4_amd64.deb ipmitool-dbgsym_1.8.19-4_amd64.deb /sonic/target/debs/bookworm/                                                                                                                                                                                                                                              
dget: retrieving https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc                                                                                                                                                                                                                                                   
get_url_version https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc failed                                                                                                                                                                                                                                             
dget: curl ipmitool_1.8.19-4.dsc https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc failed                                                                                                                                                                                                                            
make[1]: *** [Makefile:9: /sonic/target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb] Error 1                                                                                                                                                                                                                                                  
make[1]: Leaving directory '/sonic/src/ipmitool'                                                                                                                                                                                                                                                                                            
[  FAIL LOG END  ] [ target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb ]                                                                                                                                                                                                                                                                     
make: *** [slave.mk:735: target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb] Error 1              

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311
  • 202405

Tested branch (Please provide the tested image version)

@baxia-lan
baxia-lan enabled auto-merge (squash) September 12, 2024 05:51
@baxia-lan

Copy link
Copy Markdown
Contributor Author

@qiluo-msft @xumia @lguohan
could you please take a look at this quick fix?

@baxia-lan
baxia-lan merged commit b73d613 into sonic-net:master Sep 12, 2024
@gord1306

gord1306 commented Sep 13, 2024

Copy link
Copy Markdown

There was a duplicate PR #20195 submitted 4 days ago

@baxia-lan

baxia-lan commented Sep 13, 2024

Copy link
Copy Markdown
Contributor Author

@gord1306 the PR does not seem to be merged... I prepared quick fix when found it on 202405 branch, did not check open PRs before preparing this fix...

@mssonicbld

Copy link
Copy Markdown
Collaborator

Cherry-pick PR to 202405: #20336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants