Skip to content

Commit

Permalink
fix: renaming package to mrfioc2-dkms
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfedel committed Feb 19, 2024
1 parent f10ba6b commit 1a9cc56
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion mrmShared/linux/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mrf-dkms (3-0) unstable; urgency=medium
mrfioc2-dkms (3-0) unstable; urgency=medium

* Initial package

Expand Down
4 changes: 2 additions & 2 deletions mrmShared/linux/debian/control
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Source: mrf-dkms
Source: mrfioc2-dkms
Section: devel
Priority: extra
Maintainer: Gabriel Fedel <[email protected]>
Build-Depends: debhelper (>= 9),dkms

Package: mrf-dkms
Package: mrfioc2-dkms
Architecture: all
Depends: ${misc:Depends},
Description: EPICS Driver for MRF timing cards
Expand Down
5 changes: 2 additions & 3 deletions mrmShared/linux/debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ Upstream Authors:

Copyright:

Copyright (c) 2015 Brookhaven Science Associates as operator of
Brookhaven National Lab
Copyright (c) 2016 Michael Davidsaver
Copyright (c) 1991-2007 UChicago Argonne LLC and The Regents of the
University of California. All rights reserved.

License:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PACKAGE_NAME="mrf"
PACKAGE_NAME="mrfioc2"
PACKAGE_VERSION="#MODULE_VERSION#"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
DEST_MODULE_LOCATION[0]="/updates/dkms/"
Expand Down
File renamed without changes.
File renamed without changes.
19 changes: 10 additions & 9 deletions mrmShared/linux/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk
include CONFIG

%:
dh $@ --with dkms

override_dh_install:
dh_install *.c usr/src/mrf-$(DEB_VERSION_UPSTREAM)/
dh_install *.h usr/src/mrf-$(DEB_VERSION_UPSTREAM)/
dh_install K* usr/src/mrf-$(DEB_VERSION_UPSTREAM)/
dh_install Makefile usr/src/mrf-$(DEB_VERSION_UPSTREAM)/
dh_install patchize.sh usr/src/mrf-$(DEB_VERSION_UPSTREAM)/
dh_install README.md usr/src/mrf-$(DEB_VERSION_UPSTREAM)/
dh_install debian/mrf-dkms.udev usr/src/mrf-$(DEB_VERSION_UPSTREAM)/50-mrf.rules
dh_install *.c usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/
dh_install *.h usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/
dh_install K* usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/
dh_install Makefile usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/
dh_install patchize.sh usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/
dh_install README.md usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/
dh_install debian/mrfioc2-dkms.udev usr/src/mrfioc2-$(DEB_VERSION_UPSTREAM)/50-mrfioc2.rules

override_dh_dkms:
dh_dkms -V $(DEB_VERSION_UPSTREAM)
Expand All @@ -27,6 +28,6 @@ override_dh_auto_clean:
override_dh_installudev:
dh_installudev --priority=50
override_dh_installdeb:
cat debian/mrf-dkms.postinst.in > debian/mrf-dkms.postinst
cat debian/mrf-dkms.postinst.debhelper >> debian/mrf-dkms.postinst
cat debian/mrfioc2-dkms.postinst.in > debian/mrfioc2-dkms.postinst
cat debian/mrfioc2-dkms.postinst.debhelper >> debian/mrfioc2-dkms.postinst
dh_installdeb

0 comments on commit 1a9cc56

Please sign in to comment.