Skip to content

Conversation

@ZiyaSelim
Copy link

Steps to test

  1. Build and run the container as described in the exercise
# Building the container
docker build -t cpack-exercise .

# Run the container in interactive mode
docker run -it --mount type=bind,source="$(pwd)",target=/mnt/cpack-exercise cpack-exercise
  1. Go to working directory
cd /mnt/cpack-exercise
  1. Build the package
mkdir build && cd build

cmake .. && make package
  1. Test the package by installing debian package
apt install ./cpackexample_0.1.0_amd64.deb

Now you can run the package via the command:

cpackexample

Lintian Output

Initial output

grafik

I fixed the following warnings:

  • no-phrase Maintainer: Fixed by adding the debian maintainer option
  • extended-description: Fixed by adding a longer description
  • description-synopsis-starts-with-article: Fixed by removing the 'A' from the intial description 'A sample ...'

Output after fixes:

grafik

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant