Skip to content

Scripts to show nfpm problem with inconsistent builds i.e. trying to package same content produces different size result deb package

License

Notifications You must be signed in to change notification settings

keliramu/nfpm-consistent-results-not

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfpm-consistent-results-not

Scripts to show nfpm problem with inconsistent builds i.e. trying to package same content produces different size result deb package

Dependencies: install nfpm (see https://nfpm.goreleaser.com/install/)

Execute test:

$ ./test-deb-size.sh 

Example output:

~/nfpm-consistent-results-not$ ./test-deb-size.sh 
Create DEB multiple times to check if resulting size stays the same
Create DEB in loop: 1..9
DEB i: 1; now DEB size: 864
DEB i: 2; now DEB size: 864
DEB i: 3; now DEB size: 866 ::: GOT different size!!! prev: [864]
DEB i: 4; now DEB size: 864 ::: GOT different size!!! prev: [866]
DEB i: 5; now DEB size: 864
DEB i: 6; now DEB size: 864
DEB i: 7; now DEB size: 864
DEB i: 8; now DEB size: 864
DEB i: 9; now DEB size: 864
Done. Got diffs: 2

About

Scripts to show nfpm problem with inconsistent builds i.e. trying to package same content produces different size result deb package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages