Getting rid of sysprof-kmod
by Gianluca Sforna
Hi,
I just finished removing the sysprof-kmod package from CVS as mandated
by the new guidelines for F9 and above.
I am now seeking some help to understand what is needed to have again
the kernel module required for proper operations of the sysprof
package.
Upstream sources are at:
http://www.daimi.au.dk/~sandmann/sysprof/
Thanks in advance
Gianluca
16 years, 5 months
CONFIG_RTC_HCTOSYS
by David Woodhouse
On Tue, 2007-09-25 at 19:07 -0400, Dave Jones wrote:
> Author: davej
>
> Update of /cvs/pkgs/rpms/kernel/devel
> In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27402
>
> Modified Files:
> config-generic kernel.spec
> Log Message:
> * Tue Sep 25 2007 Dave Jones <davej(a)redhat.com>
> - Disable RTC_HCTOSYS. The initscripts already do this for us.
True, they do (once we fix #409551 and preferably also stop mkinitrd
from creating the device node with the old numbers).
The installer doesn't though, as far as I know. It would need to do so.
Once we've started setting the clock in userspace, it then makes a
certain amount of sense to have the RTC drivers as modules instead of
building them in.
We'd need to make sure the right driver gets autoloaded, but that isn't
particularly hard.
While we're at it, I'd also quite like to have a sanity check after
setting the clock in rc.sysinit -- if it's before 2000 or so, I'd like
to set it from the latest timestamp found in /var/log. That's _also_
going to be wrong, but it's not going to be _so_ wrong that it prevents
you from even being able to log in as root to a VT :)
--
dwmw2
16 years, 5 months
[RFC] Kernel subpackage for zImage wrapper.
by David Woodhouse
In arch/powerpc/boot/ in the kernel, there is wrapper code which lets
you make a combined zImage from fairly much arbitrary kernels and
ramdisks. We use it outside the context of the kernel build, for
building installer images, etc.
For a while we've had a copy -- in fact, two copies of different
vintages -- of this in the ppc64-utils package. This was about as
sensible as glibc-kernheaders was, and while upstream dicked around with
load addresses and other things to try to make sure it's compatible with
as many machines as possible, we lagged behind.
Just as we do now for headers, I'd like to spit out a
'kernel-bootwrapper' subpackage when we build the kernel. It depends on
a patch introducing 'make bootloader_install' which has been sent
upstream and will hopefully be accepted; the resulting bootwrapper
package has been confirmed to work for Efika (ppc32), Electra (the new
PA Semi ppc64 machine) and PS3.
Dave, Chuck -- does this look OK?
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.273
diff -u -p -r1.273 kernel.spec
--- kernel.spec 3 Dec 2007 03:01:18 -0000 1.273
+++ kernel.spec 3 Dec 2007 04:35:36 -0000
@@ -80,6 +80,8 @@ Summary: The Linux kernel (the core of t
%define with_headers %{?_without_headers: 0} %{?!_without_headers: 1}
# kernel-debuginfo
%define with_debuginfo %{?_without_debuginfo: 0} %{!?_without_debuginfo: 1}
+# kernel-bootwrapper (for creating zImages from kernel + initrd)
+%define with_bootwrapper %{?_without_bootwrapper: 0} %{!?_without_bootwrapper: 1}
# Additional options for user-friendly one-off kernel building:
#
@@ -261,6 +263,11 @@ Summary: The Linux kernel (the core of t
%define all_arch_configs kernel-%{version}-*.config
%endif
+# bootwrapper is only on ppc
+%ifnarch ppc
+%define with_bootwrapper 0
+%endif
+
# sparse blows up on ppc64
%ifarch ppc64 ppc alpha sparc64
%define usesparse 0
@@ -678,6 +686,12 @@ header files define structures and const
building most standard programs and are also needed for rebuilding the
glibc package.
+%package bootwrapper
+Summary: Boot wrapper files for generating combined kernel + initrd images
+Group: Development/System
+%description bootwrapper
+Kernel-bootwrapper contains the wrapper code which makes bootable "zImage"
+files combining both kernel and initial ramdisk.
%package debuginfo-common
Summary: Kernel source files used by %{name}-debuginfo packages
@@ -1551,6 +1566,10 @@ rm -f $RPM_BUILD_ROOT/usr/include/asm*/i
rm -f $RPM_BUILD_ROOT/usr/include/asm*/irq.h
%endif
+%if %{with_bootwrapper}
+make DESTDIR=$RPM_BUILD_ROOT bootwrapper_install
+%endif
+
###
### clean
###
@@ -1646,6 +1665,13 @@ fi
/usr/include/*
%endif
+%if %{with_bootwrapper}
+%files bootwrapper
+%defattr(-,root,root)
+/usr/sbin/*
+%{_libdir}/kernel-wrapper
+%endif
+
# only some architecture builds need kernel-doc
%if %{with_doc}
%files doc
--
dwmw2
16 years, 5 months
CLAIM YOUR EMAIL AWARD IN 2007 SPANISH LOTERIA
by Euro Million Spanish Loteria
EURO MILLIONES LOTERIA DE ESPAÑA
REFERENCE: 200/090/SPS
BATCH: JSJ-001-226-997
We wish to inform you that your email address has been awarded the sum
of One Million Five Hundred and Fifty Thousand Euros (1.550,000.00) Euros in the Euro Million Spanish Loteria and you have been therefore adviced to contact your claims agent on
telephone:0034-650-584-551
DINERO SECURITY EXPRESS.S.A
Mr. Peter Sanchez,
Email:infdinerosexpress@gmail.com
Regards,
Mrs Linda Carol
16 years, 5 months
Re: rawhide report: 20071201 changes
by David Woodhouse
On Sat, 2007-12-01 at 08:15 -0500, Build System wrote:
> kernel-2.6.24-0.61.rc3.git5.fc9
> -------------------------------
> * Fri Nov 30 2007 Kyle McMartin <kmcmartin(a)redhat.com>
> - Oops! Local make-build-go-faster kernel.spec patch slipped in,
> reverted.
cat > GNUmakefile << EOF
ppc ppc64 i686: DIST_DEFINES += --without debug --without doc --without headers --without debuginfo
include Makefile
EOF
--
dwmw2
16 years, 5 months