Master_Ho
05-25-2003, 03:31 AM
Hi,
I'm trying to build a custom kernel from the redhat 9 kernel sources and I've come across a few lines within the specfile which I'm trying to get a better understanding of. The lines are pasted below and I'm hoping someone knows exactly what they do. There is also a genkey file within the kernel source package containing these lines.
----------------------------------------------------------
cat > genkey <<EOF
%pubring `pwd`/kernel.pub
%secring `pwd`/kernel.sec
Key-Type: DSA
Key-Length: 512
Name-Real: Red Hat, Inc.
Name-Comment: Kernel Module GPG key
%commit
EOF
-----------------------------------------------------------
I'm trying to build a custom kernel from the redhat 9 kernel sources and I've come across a few lines within the specfile which I'm trying to get a better understanding of. The lines are pasted below and I'm hoping someone knows exactly what they do. There is also a genkey file within the kernel source package containing these lines.
----------------------------------------------------------
cat > genkey <<EOF
%pubring `pwd`/kernel.pub
%secring `pwd`/kernel.sec
Key-Type: DSA
Key-Length: 512
Name-Real: Red Hat, Inc.
Name-Comment: Kernel Module GPG key
%commit
EOF
-----------------------------------------------------------