FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 03-17-2010, 08:45 AM
Ales Kozumplik
 
Default put the analog script into the RPM

This was accidentally omitted from ommitted from
d42a7a7e21c6b4a45437a6139e169ccaaf17784b.
---
anaconda.spec.in | 1 +
scripts/Makefile.am | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 115f19c..1e7d61f 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -200,6 +200,7 @@ update-desktop-database &> /dev/null || :
%doc docs/anaconda-release-notes.txt
/lib/udev/rules.d/70-anaconda.rules
%{_sbindir}/anaconda
+%{_bindir}/analog
%ifarch i386 i486 i586 i686 x86_64
%{_sbindir}/gptsync
%{_sbindir}/showpart
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..a2b53e6 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd upd-kernel
makeupdates

+analogdir = $(bindir)/
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in
--
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-17-2010, 01:07 PM
Chris Lumens
 
Default put the analog script into the RPM

> diff --git a/anaconda.spec.in b/anaconda.spec.in
> index 115f19c..1e7d61f 100644
> --- a/anaconda.spec.in
> +++ b/anaconda.spec.in
> @@ -200,6 +200,7 @@ update-desktop-database &> /dev/null || :
> %doc docs/anaconda-release-notes.txt
> /lib/udev/rules.d/70-anaconda.rules
> %{_sbindir}/anaconda
> +%{_bindir}/analog
> %ifarch i386 i486 i586 i686 x86_64
> %{_sbindir}/gptsync
> %{_sbindir}/showpart
> diff --git a/scripts/Makefile.am b/scripts/Makefile.am
> index 1c59338..a2b53e6 100644
> --- a/scripts/Makefile.am
> +++ b/scripts/Makefile.am
> @@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
> dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd upd-kernel
> makeupdates
>
> +analogdir = $(bindir)/
> +dist_analog_SCRIPTS = analog
> +
> MAINTAINERCLEANFILES = Makefile.in

I was looking for this just yesterday, in fact. However I worry that
"analog" might be too generic of a name and something else may be using
it or want to use it in the near future. Does it absolutely need to
live in /usr/bin, or can it live in /usr/share/anaconda/ instead?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 08:46 AM
Ales Kozumplik
 
Default put the analog script into the RPM

On 03/17/2010 03:07 PM, Chris Lumens wrote:

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 115f19c..1e7d61f 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -200,6 +200,7 @@ update-desktop-database&> /dev/null || :
%doc docs/anaconda-release-notes.txt
/lib/udev/rules.d/70-anaconda.rules
%{_sbindir}/anaconda
+%{_bindir}/analog
%ifarch i386 i486 i586 i686 x86_64
%{_sbindir}/gptsync
%{_sbindir}/showpart
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..a2b53e6 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd upd-kernel
makeupdates

+analogdir = $(bindir)/
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in


I was looking for this just yesterday, in fact. However I worry that
"analog" might be too generic of a name and something else may be using
it or want to use it in the near future. Does it absolutely need to
live in /usr/bin, or can it live in /usr/share/anaconda/ instead?



Yes we can! People just need to remember to execute it from there:

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..e50d1f0 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd
upd-kernel

makeupdates

+analogdir = $(datadir)/$(PACKAGE_NAME)
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 08:57 AM
Hans de Goede
 
Default put the analog script into the RPM

Hi,

On 03/19/2010 10:46 AM, Ales Kozumplik wrote:

On 03/17/2010 03:07 PM, Chris Lumens wrote:

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 115f19c..1e7d61f 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -200,6 +200,7 @@ update-desktop-database&> /dev/null || :
%doc docs/anaconda-release-notes.txt
/lib/udev/rules.d/70-anaconda.rules
%{_sbindir}/anaconda
+%{_bindir}/analog
%ifarch i386 i486 i586 i686 x86_64
%{_sbindir}/gptsync
%{_sbindir}/showpart
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..a2b53e6 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd
upd-kernel
makeupdates

+analogdir = $(bindir)/
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in


I was looking for this just yesterday, in fact. However I worry that
"analog" might be too generic of a name and something else may be using
it or want to use it in the near future. Does it absolutely need to
live in /usr/bin, or can it live in /usr/share/anaconda/ instead?



Yes we can! People just need to remember to execute it from there:

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..e50d1f0 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd upd-kernel
makeupdates

+analogdir = $(datadir)/$(PACKAGE_NAME)
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in



<ugh>

Can we please make that /usr/libexec/anaconda/analog ? Scripts don't
belong under /usr/share, even if they are not arch specific.

Regards,

Hans

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 12:10 PM
Ales Kozumplik
 
Default put the analog script into the RPM

On 03/19/2010 10:57 AM, Hans de Goede wrote:

Hi,

On 03/19/2010 10:46 AM, Ales Kozumplik wrote:

On 03/17/2010 03:07 PM, Chris Lumens wrote:

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 115f19c..1e7d61f 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -200,6 +200,7 @@ update-desktop-database&> /dev/null || :
%doc docs/anaconda-release-notes.txt
/lib/udev/rules.d/70-anaconda.rules
%{_sbindir}/anaconda
+%{_bindir}/analog
%ifarch i386 i486 i586 i686 x86_64
%{_sbindir}/gptsync
%{_sbindir}/showpart
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..a2b53e6 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd
upd-kernel
makeupdates

+analogdir = $(bindir)/
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in


I was looking for this just yesterday, in fact. However I worry that
"analog" might be too generic of a name and something else may be using
it or want to use it in the near future. Does it absolutely need to
live in /usr/bin, or can it live in /usr/share/anaconda/ instead?



Yes we can! People just need to remember to execute it from there:

diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..e50d1f0 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd
upd-kernel
makeupdates

+analogdir = $(datadir)/$(PACKAGE_NAME)
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in



<ugh>

Can we please make that /usr/libexec/anaconda/analog ? Scripts don't
belong under /usr/share, even if they are not arch specific.

Regards,

Hans



K how about now:

diff --git a/anaconda.spec.in b/anaconda.spec.in
index 115f19c..e0c1084 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -207,6 +207,7 @@ update-desktop-database &> /dev/null || :
%{_datadir}/anaconda
%{_prefix}/lib/anaconda
%{_prefix}/lib/anaconda-runtime
+%{_prefix}/libexec/anaconda
%ifarch %livearches
%{_bindir}/liveinst
%{_sbindir}/liveinst
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..6d3562d 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd
upd-kernel

makeupdates

+analogdir = $(libexecdir)/$(PACKAGE_NAME)
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 12:22 PM
Hans de Goede
 
Default put the analog script into the RPM

Hi,

On 03/19/2010 02:10 PM, Ales Kozumplik wrote:

On 03/19/2010 10:57 AM, Hans de Goede wrote:


<snip>


<ugh>

Can we please make that /usr/libexec/anaconda/analog ? Scripts don't
belong under /usr/share, even if they are not arch specific.

Regards,

Hans



K how about now:



Ack.



diff --git a/anaconda.spec.in b/anaconda.spec.in
index 115f19c..e0c1084 100644
--- a/anaconda.spec.in
+++ b/anaconda.spec.in
@@ -207,6 +207,7 @@ update-desktop-database &> /dev/null || :
%{_datadir}/anaconda
%{_prefix}/lib/anaconda
%{_prefix}/lib/anaconda-runtime
+%{_prefix}/libexec/anaconda
%ifarch %livearches
%{_bindir}/liveinst
%{_sbindir}/liveinst
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 1c59338..6d3562d 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -25,4 +25,7 @@ dist_scripts_DATA = mk-images.* pyrc.py
dist_noinst_SCRIPTS = getlangnames.py upd-bootimage upd-initrd upd-kernel
makeupdates

+analogdir = $(libexecdir)/$(PACKAGE_NAME)
+dist_analog_SCRIPTS = analog
+
MAINTAINERCLEANFILES = Makefile.in

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-19-2010, 12:32 PM
Chris Lumens
 
Default put the analog script into the RPM

> Can we please make that /usr/libexec/anaconda/analog ? Scripts don't
> belong under /usr/share, even if they are not arch specific.

I still have an outstanding patch series that's gonna change all this
crud around, so for now I was thinking it'd be best to put it in the
same place everything else is and then later we'll worry about the
proper location.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 03:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org