summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-06 13:41:17 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-06 13:41:17 +0000
commitf97146346b3670360ab182898fc7f543e55736cb (patch)
treebeb5e47d923d8837f02c05082c3970eb46eb38fa
parentfce39d777c8b0e223ec975f11dd07f848febcc25 (diff)
downloaddrakpxelinux-f97146346b3670360ab182898fc7f543e55736cb.tar
drakpxelinux-f97146346b3670360ab182898fc7f543e55736cb.tar.gz
drakpxelinux-f97146346b3670360ab182898fc7f543e55736cb.tar.bz2
drakpxelinux-f97146346b3670360ab182898fc7f543e55736cb.tar.xz
drakpxelinux-f97146346b3670360ab182898fc7f543e55736cb.zip
update changelog, move to /usr/sbin
-rw-r--r--drakpxelinux.pl1
-rw-r--r--drakpxelinux.spec12
2 files changed, 9 insertions, 4 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 3f0fa50..b56eaab 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -184,6 +184,7 @@ my $pxelinux_conf;# = network::pxe::read_pxelinux_conf($config_file, $help_file)
sub link_default_path() {
# need to quick fix pb of duplicate default (network::pxe need various adjustement).
if (!-f "$network::pxe::pxelinux_client_root/pxelinux.cfg/profiles/boot/default") {
+ mkdir_p("$network::pxe::pxelinux_client_root/pxelinux.cfg/profiles/boot/");
system("ln -sf $network::pxe::pxelinux_config_file $network::pxe::pxelinux_client_root/pxelinux.cfg/profiles/boot/default");
}
}
diff --git a/drakpxelinux.spec b/drakpxelinux.spec
index 73c5ec6..1e42cd3 100644
--- a/drakpxelinux.spec
+++ b/drakpxelinux.spec
@@ -1,6 +1,6 @@
%define version 1.2.0
%define name drakpxelinux
-%define release 4mdk
+%define release 5mdk
Summary: PXE default file configurator
Name: %{name}
@@ -16,7 +16,7 @@ BuildRoot: %{_tmppath}/%{name}-buildroot
Buildarch: noarch
%description
-Quick configuration of PXE menu parameters.
+Quick configuration of PXE menu parameters.
%prep
%setup -q
@@ -30,7 +30,7 @@ make prefix=$RPM_BUILD_ROOT install
#menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
-?package(%{name}): command="/usr/bin/%{name}" section="Configuration/Other" \
+?package(%{name}): command="/usr/sbin/%{name}" section="Configuration/Other" \
icon="configuration_section.xpm" needs="x11" title="Drakpxelinux" \
longtitle="Mandriva Linux Pxelinux configurator"
EOF
@@ -50,13 +50,17 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc default TODO COPYING
-%{_bindir}/%{name}
+%{_sbindir}/%{name}
%{_sbindir}/deployd
%{_sysconfdir}/xinetd.d/deployd
#%{_datadir}/%{name}*
%{_menudir}/%{name}*
%changelog
+* Tue Sep 6 2005 Antoine Ginies <aginies@n1.mandriva.com> 1.2.0-5mdk
+- move drakpxelinux.pl in /usr/sbin directory to be able to use consolehelper
+- fix missing directory
+
* Mon Sep 5 2005 Antoine Ginies <aginies@n1.mandriva.com> 1.2.0-4mdk
- fx default boot for profile