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

build-deb.sh: Allow building source packages, pass options #178

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 19, 2020

  1. build-deb.sh: Allow building source packages, pass options

    Allow end users to build source packages, sign packages with their own
    GnuPG key, and perform other interactions with `dpkg-buildpackage`.
    sjlongland committed Jul 19, 2020
    Configuration menu
    Copy the full SHA
    5173683 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2020

  1. build-deb.sh: Add help, handle unknown arguments

    ```
    RC=0 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh --foo --bar -mokey 7 --skip-binary --hello --
    Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary]
              [{--sign-key|-l} <GPG KEY ID>]
              [-- <dpkg-buildpackage options>]
    Unrecognised argument --foo
    RC=1 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh -h
    Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary]
              [{--sign-key|-l} <GPG KEY ID>]
              [-- <dpkg-buildpackage options>]
    RC=0 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh -?
    Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary]
              [{--sign-key|-l} <GPG KEY ID>]
              [-- <dpkg-buildpackage options>]
    RC=0 stuartl@rikishi ~/vrt/projects/metermaster/libs/libmbus $ ./build-deb.sh --help
    Usage: ./build-deb.sh [--build-source-pkg] [--skip-binary]
              [{--sign-key|-l} <GPG KEY ID>]
              [-- <dpkg-buildpackage options>]
    ```
    sjlongland committed Jul 21, 2020
    Configuration menu
    Copy the full SHA
    2bf18df View commit details
    Browse the repository at this point in the history