2 ## Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
18 file://${BPN}/0001-Roll-up-TIS-patches.patch \
19 file://${BPN}/0002-remove-puppetlabs-apt-as-a-requirement.patch \
20 file://${BPN}/0003-puppetlabs-postgresql-account-for-naming-diffs.patch \
21 file://${BPN}/0004-poky-postgresql-updates.patch \
22 file://${BPN}/0005-puppetlabs-postgresql-poky.patch \
23 file://${BPN}/0006-adjust_path-remove-refs-to-local-bin.patch \
24 file://${BPN}/postgresql.service \
27 # file://${PN}/0004-postgresql-service-restart-with-systemctl.patch
29 RDEPENDS_${PN}_append = " \
43 install -d -m0755 ${D}/usr/lib/systemd/system
44 install -m0644 ${WORKDIR}/${PN}/postgresql.service ${D}/usr/lib/systemd/system
47 FILES_${PN}_append = " /usr/lib/systemd/system/postgresql.service"