Generating a new ubuntu-keyring .deb to sign ISO CD
Stefani Seibold
stefani at seibold.net
Tue Oct 25 21:51:31 UTC 2016
Here is my contents of the .deb und .udeb package:
> >
>
> this is good.
>
> >
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./etc/
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./etc/apt/
> > drwxr-xr-x root/root 0 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/
> > -rw-r--r-- root/root 1201 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/mytest-keyring-2016-test.gpg
> > -rw-r--r-- root/root 3422 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/ubuntu-keyring-2004-archive.gpg
> > -rw-r--r-- root/root 3147 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/ubuntu-keyring-2004-cdimage.gpg
> > -rw-r--r-- root/root 2796 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
> > -rw-r--r-- root/root 2794 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./usr/
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./usr/share/
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./usr/share/doc/
> > drwxr-xr-x root/root 0 2016-10-25 21:51
> > ./usr/share/doc/ubuntu-keyring/
> > -rw-r--r-- root/root 157 2016-10-25 21:51
> > ./usr/share/doc/ubuntu-keyring/README.gz
> > -rw-r--r-- root/root 2163 2016-10-25 21:51
> > ./usr/share/doc/ubuntu-keyring/changelog.gz
> > -rw-r--r-- root/root 1242 2016-10-25 21:51
> > ./usr/share/doc/ubuntu-keyring/copyright
> > drwxr-xr-x root/root 0 2016-10-25 21:51
> > ./usr/share/keyrings/
> > -rw-r--r-- root/root 13360 2016-10-25 21:51
> > ./usr/share/keyrings/ubuntu-archive-keyring.gpg
> > -rw-r--r-- root/root 0 2016-10-25 21:51
> > ./usr/share/keyrings/ubuntu-archive-removed-keys.gpg
> > -rw-r--r-- root/root 1227 2016-10-25 21:51
> > ./usr/share/keyrings/ubuntu-master-keyring.gpg
> >
> > and
> >
>
> this is not.
>
> >
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./etc/
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./etc/apt/
> > drwxr-xr-x root/root 0 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/
> > -rw-r--r-- root/root 1201 2016-10-25 21:51
> > ./etc/apt/trusted.gpg.d/mytest-keyring-2016-test.gpg
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./usr/
> > drwxr-xr-x root/root 0 2016-10-25 21:51 ./usr/share/
> > drwxr-xr-x root/root 0 2016-10-25 21:51
> > ./usr/share/keyrings/
> > -rw-r--r-- root/root 13360 2016-10-25 21:51
> > ./usr/share/keyrings/ubuntu-archive-keyring.gpg
> >
>
> so for udeb case, i believe "mytest-keyring-2016-test.gpg" keys
> should
> be inside the ubuntu-archive-kerying.gpg but only in the .udeb.
>
> So for sake of simplicity, i guess you have to do both:
> 1) import your key into /usr/share/keyrings/ubuntu-archive-
> keyring.gpg
> 2) ship your key as a key fragment in the /etc/apt/trusted.gpg.d/
> (already done above)
>
This is exactly what i have done. I import my key in ubuntu-archive-
keyring and shipped my key fragment in /etc/apt/trusted.gpg.d.
I have done this for the .deb and .udeb packages.
But when i start the installation, there is no /etc/apt/trusted.gpg.d/
there, so my modified packages was not installed. Why?
- Stefani
More information about the Ubuntu-devel-discuss
mailing list