Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

baxia-lan
Copy link
Contributor

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

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
Copy link
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
23 checks passed
@gord1306
Copy link

gord1306 commented Sep 13, 2024

There was a duplicate PR #20195 submitted 4 days ago

@baxia-lan
Copy link
Contributor Author

baxia-lan commented Sep 13, 2024

@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
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