update to 2.9.91 [release 2.9.91-1mamba;Sun Feb 22 2015]
This commit is contained in:
parent
58af4257ea
commit
879b370b32
@ -1,5 +1,7 @@
|
|||||||
# livecd-tools
|
# livecd-tools
|
||||||
|
|
||||||
Live cd utilities:
|
Live cd utilities:
|
||||||
|
|
||||||
- configurare a default user ('liveuser') for live environment
|
- configurare a default user ('liveuser') for live environment
|
||||||
|
- installer: openmamba installation tool
|
||||||
|
- eject_cd.sh: forces CD eject for livecd shutdown
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
%define lpadmin_uid 65032
|
%define lpadmin_uid 65032
|
||||||
%define lpadmin_gid 65032
|
%define lpadmin_gid 65032
|
||||||
Name: livecd-tools
|
Name: livecd-tools
|
||||||
Version: 2.9.0
|
Version: 2.9.91
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Live cd environment and utilities
|
Summary: Live cd environment and utilities
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -16,14 +16,6 @@ Source2: %{name}-Autostart-setkeyboard
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
%if "%{stage1}" != "1"
|
|
||||||
Requires: kommander
|
|
||||||
Requires: parted
|
|
||||||
Requires: gparted
|
|
||||||
Requires: md5deep
|
|
||||||
Requires: /usr/bin/cdrecord
|
|
||||||
%endif
|
|
||||||
Requires: udisks
|
|
||||||
Requires(pre): rpm
|
Requires(pre): rpm
|
||||||
Requires(pre): udev
|
Requires(pre): udev
|
||||||
Requires(post):sudo
|
Requires(post):sudo
|
||||||
@ -39,12 +31,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
|||||||
|
|
||||||
%description
|
%description
|
||||||
Live cd utilities:
|
Live cd utilities:
|
||||||
|
|
||||||
- configurare a default user ('liveuser') for live environment
|
- configurare a default user ('liveuser') for live environment
|
||||||
%if "%{stage1}" != "1"
|
- installer: openmamba installation tool
|
||||||
- installer: system installer scripts and kommander interface
|
|
||||||
- eject_cd.sh: forces CD eject for livecd shutdown
|
- eject_cd.sh: forces CD eject for livecd shutdown
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -54,13 +43,6 @@ Live cd utilities:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
%find_lang installer
|
|
||||||
|
|
||||||
%if "%{stage1}" == "1"
|
|
||||||
rm -f %{buildroot}%{_datadir}/openmamba/installer/installer.kmdr
|
|
||||||
rm -f %{buildroot}%{_datadir}/applications/openmamba-installer.desktop
|
|
||||||
rm -f %{buildroot}%{_datadir}/icons/hicolor/*/apps/installer.png
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -83,17 +65,14 @@ fi
|
|||||||
%post
|
%post
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
chmod 711 /home/liveuser
|
chmod 711 /home/liveuser
|
||||||
%if "%{stage1}" != "1"
|
|
||||||
mkdir /home/liveuser/Desktop/
|
mkdir /home/liveuser/Desktop/
|
||||||
cp /usr/share/applications/openmamba-installer.desktop /home/liveuser/Desktop/
|
cp /usr/share/applications/openmamba-installer.desktop /home/liveuser/Desktop/
|
||||||
cp /usr/share/applications/openmamba-bootrecover.desktop /home/liveuser/Desktop/
|
|
||||||
chmod +x /home/liveuser/Desktop/*.desktop
|
chmod +x /home/liveuser/Desktop/*.desktop
|
||||||
## configure for cd eject at halt/reboot
|
## configure for cd eject at halt/reboot
|
||||||
# sed -i -e '/halt .*/i \
|
# sed -i -e '/halt .*/i \
|
||||||
# /sbin/eject_cd.sh 2>&1 >/dev/null' /etc/init.d/halt
|
# /sbin/eject_cd.sh 2>&1 >/dev/null' /etc/init.d/halt
|
||||||
# sed -i -e '/reboot .*/i \
|
# sed -i -e '/reboot .*/i \
|
||||||
# /sbin/eject_cd.sh 2>&1 >/dev/null' /etc/init.d/reboot
|
# /sbin/eject_cd.sh 2>&1 >/dev/null' /etc/init.d/reboot
|
||||||
%endif
|
|
||||||
chown -R liveuser.users /home/liveuser
|
chown -R liveuser.users /home/liveuser
|
||||||
fi
|
fi
|
||||||
:
|
:
|
||||||
@ -150,7 +129,7 @@ _EOF
|
|||||||
fi
|
fi
|
||||||
:
|
:
|
||||||
|
|
||||||
%files -f installer.lang
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_sysconfdir}/calamares
|
%dir %{_sysconfdir}/calamares
|
||||||
%{_sysconfdir}/calamares/settings.conf
|
%{_sysconfdir}/calamares/settings.conf
|
||||||
@ -160,26 +139,23 @@ fi
|
|||||||
%dir %{_sysconfdir}/calamares/modules
|
%dir %{_sysconfdir}/calamares/modules
|
||||||
%{_sysconfdir}/calamares/modules/*.conf
|
%{_sysconfdir}/calamares/modules/*.conf
|
||||||
%{_sysconfdir}/systemd/system/autovt@.service
|
%{_sysconfdir}/systemd/system/autovt@.service
|
||||||
%attr(0440,root,root) %{_sysconfdir}/sudoers.d/installer
|
|
||||||
%attr(0440,root,root) %{_sysconfdir}/sudoers.d/liveuser
|
%attr(0440,root,root) %{_sysconfdir}/sudoers.d/liveuser
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/installer
|
|
||||||
/sbin/eject_cd.sh
|
/sbin/eject_cd.sh
|
||||||
/sbin/login.live
|
/sbin/login.live
|
||||||
%dir %{_datadir}/openmamba/installer
|
|
||||||
%if "%{stage1}" != "1"
|
|
||||||
%{_datadir}/openmamba/installer/installer.kmdr
|
|
||||||
%{_datadir}/applications/openmamba-installer.desktop
|
%{_datadir}/applications/openmamba-installer.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/installer.png
|
%{_datadir}/icons/hicolor/*/apps/installer.png
|
||||||
%endif
|
|
||||||
%{_datadir}/openmamba/installer/gpl*.html
|
|
||||||
%{_datadir}/openmamba/installer/installer.sh
|
|
||||||
%{_datadir}/openmamba/installer/md5progress.sh
|
|
||||||
%attr(-,liveuser,users) %dir /home/liveuser/.kde4
|
%attr(-,liveuser,users) %dir /home/liveuser/.kde4
|
||||||
%attr(-,liveuser,users) %dir /home/liveuser/.kde4/share
|
%attr(-,liveuser,users) %dir /home/liveuser/.kde4/share
|
||||||
%attr(-,liveuser,users) %dir /home/liveuser/.kde4/share/config
|
%attr(-,liveuser,users) %dir /home/liveuser/.kde4/share/config
|
||||||
%attr(-,liveuser,users) /home/liveuser/.kde4/share/config/*
|
%attr(-,liveuser,users) /home/liveuser/.kde4/share/config/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.91-1mamba
|
||||||
|
- update to 2.9.91
|
||||||
|
|
||||||
|
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.90-1mamba
|
||||||
|
- update to 2.9.90
|
||||||
|
|
||||||
* Fri Feb 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.0-2mamba
|
* Fri Feb 20 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.0-2mamba
|
||||||
- configure and unconfigure liveuser for autologin in posttran script
|
- configure and unconfigure liveuser for autologin in posttran script
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user