Widevine, foreign-cdm and linux_base

Although, strictly speaking, the jail's root filesystem is read only + noexec, while the stuff that we are mounting on top of it is read only + nosuid.
 
There's a mistake in the May 2024 change to the FreeBSD Handbook (committed a couple of days ago).

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281837


I added a comment there.

Also:

Code:
% pkg search rl9 | grep -i userland
% pkg search rl9 | grep -i meta
linux-rl9-9.4                  Meta-port for all things Rocky Linux 9.4
% pkg search linux_base-rl9
linux_base-rl9-9.4             Base set of packages needed in Linux mode (Rocky Linux 9.4)
%
 
i have uninstalled linux_base-c7
and installed linux_base-rl9

when you try and install the foreign-cdm package
it wants to install linux-base-c7 as a dependency

from SirDice comment it looks like you need to build the foreign-cdm port
and change the LINUX_DEFAULT from c7 to rl9


if you are using poudriere you would add that change to your make.conf

Code:
/usr/local/etc/poudriere.d/make.conf

the default is c7

Code:
LINUX_DEFAULT?=c7

and you need to change that to rl9

Code:
LINUX_DEFAULT?=rl9


i presume this is the correct syntax below
and that its LINUX_DEFAULT=rl9 and not LINUX_DEFAULT?=rl9 with a question mark

someone correct me if im wrong

make.conf

Code:
DISABLE_LICENSES=yes
LINUX_DEFAULT=rl9

and in the port-list build both the linux-widevine-cdm
and the foreign-cdm

Code:
www/linux-widevine-cdm
www/foreign-cdm

just tried building with the above options and it failed
and still tried to pull in linux_base-c7

either i have got everything wrong ( which is very possible )
or im missing something

just going to have some tea and look at it again
 
cheers SirDice

so in the poudriere make.conf

Code:
/usr/local/etc/poudriere.d/make.conf

i should have used

Code:
DEFAULT_VERSIONS+= linux=rl9

instead of

Code:
LINUX_DEFAULT=rl9

my bad
 
Well, both will actually work. So it's not wrong, but the whole premise of bsd.default-versions.mk is to be able to set various default versions for different components in one convenient DEFAULT_VERSIONS variable.
 
i couldnt get LINUX_DEFAULT=rl9 in the make.conf to work
may have been an error on my part

poudriere was still trying to use linux-c7-devtools

even with the following installed

Code:
doas pkg install linux_base-rl9 linux-rl9-devtools

interestingly when you search for linux
linux-rl9-devtools actually says (CentOS 9.4)

im not sure if thats a typo

Code:
linux-rl9-devtools-9.4         Linux compilers and base libraries (CentOS 9.4)

ill have to give this another crack
 


when you try and install the foreign-cdm package
it wants to install linux-base-c7 as a dependency …

1729030381242.png


There's a mistake in the May 2024 change to the FreeBSD Handbook (committed a couple of days ago).

Fixed in doc d4f2d0af3b7636a35722db902b05fd897488569d.
 
Back
Top