Message ID | 1407938231-22544-2-git-send-email-bos@je-eigen-domein.nl |
---|---|
State | Accepted |
Headers | show |
Dear Floris Bos, On Wed, 13 Aug 2014 15:57:10 +0200, Floris Bos wrote: > Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> > --- > package/postgresql/postgresql.mk | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk > index dd2e678..19f9163 100644 > --- a/package/postgresql/postgresql.mk > +++ b/package/postgresql/postgresql.mk > @@ -52,6 +52,7 @@ endef > > define POSTGRESQL_INSTALL_TARGET_FIXUP > $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql > + $(RM) -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs > endef > > POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP I've applied the patch, thanks. However, I'm not sure to understand why you're not removing 'pg_config' from the target. Thanks, Thomas
On 08/17/2014 09:17 PM, Thomas Petazzoni wrote: > On Wed, 13 Aug 2014 15:57:10 +0200, Floris Bos wrote: >> Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> >> --- >> package/postgresql/postgresql.mk | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk >> index dd2e678..19f9163 100644 >> --- a/package/postgresql/postgresql.mk >> +++ b/package/postgresql/postgresql.mk >> @@ -52,6 +52,7 @@ endef >> >> define POSTGRESQL_INSTALL_TARGET_FIXUP >> $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql >> + $(RM) -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs >> endef >> >> POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP > I've applied the patch, thanks. However, I'm not sure to understand > why you're not removing 'pg_config' from the target. Thomas DS mentioned that having "POSTGRESQL_CONFIG_SCRIPTS = pg_config" also causes automatic removal from the target And have that in the first patch of the patch series that adds the fake pg_config file. Yours sincerely, Floris Bos
diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk index dd2e678..19f9163 100644 --- a/package/postgresql/postgresql.mk +++ b/package/postgresql/postgresql.mk @@ -52,6 +52,7 @@ endef define POSTGRESQL_INSTALL_TARGET_FIXUP $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql + $(RM) -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs endef POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> --- package/postgresql/postgresql.mk | 1 + 1 file changed, 1 insertion(+)