booster: unable to find a config file in /proc

On fedora config file is on /boot image

>sudo booster -output /tmp/booster.img -strip  -debug  -force
unable to find a config file in /proc

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 49 (23 by maintainers)

Commits related to this issue

Most upvoted comments

Thanks. Works fine now.

#!/bin/bash -e

# find out all installed kernels
kernels=($(rpm -q kernel-core))

for kernel in "$kernels"; do
    version=$( echo $kernel | sed 's/kernel-core-//g' )
# write to tmp for testing
    booster  build --force --kernel-version ${version} /tmp/booster-${version}.img   & 
done

wait

--force and --kernel-version are build subcommand flags. i.e. you have to put it after the build codeword.

Here is an example of usage https://github.com/anatol/booster/blob/master/packaging/arch/regenerate_images

Yes, it should work with 1.17+.

Oops sorry. I messed with dependencies earlier. I pushed a fix to wip branch. Please try it again.