fdd7
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Can I add option on Generic Kernel , for example add option for use PF and firewall and then run these command
Code:
cd /usr/src && make buildkernel && make installkernel can I later update system by these command Code:
freebsd-update fetch && freebsd-update install |
|
#2
|
||||
|
||||
|
Can I say my kernel is Generic but I add some option to it and compile it ?
|
|
#3
|
|||
|
|||
|
Of course you can modify GENERIC, but making a copy and working on it is recommended.
But do not expect freebsd-update to understand the changes. freebsd-update works on standard RELEASEs and RCs and nothing else.
__________________
May the source be with you! |
|
#4
|
||||
|
||||
|
if I add option to my Generic kernel , with freebsd-update I can not fix security risk and upgrade my FreeBSD ? Am I right ?
|
|
#5
|
|||
|
|||
|
I am not sure how freebsd-update would behave, but I suspect it would fail during the "inspecting system" phase.
Either use a standard binary GENERIC and update/upgrade using freebsd-update or update sources, patch them and build them.
__________________
May the source be with you! |
|
#6
|
|||
|
|||
|
Greetings.
There is an paragraph about that topic in the Handbook, 24.2 FreeBSD Update, subchapter 24.2.2. Security Patches. Look for Quote:
Last edited by EdGe; September 30th, 2010 at 09:14. |
|
#7
|
|||
|
|||
|
freebsd-update update only GENERIC kernel witch you installed ,fixing security risk with compiled kernel come by you not by freebsd-update otherwise it will fail .
|
|
#8
|
||||
|
||||
|
That's quite a lot of chaotic and sometimes inaccurate advice, people ..
http://forums.freebsd.org/showpost.p...96&postcount=3 So GENERIC (/boot/GENERIC/kernel) and CUSTOM (/boot/kernel/kernel) kernels can co-exist in a freebsd-update system. Just make sure you always rebuild your CUSTOM kernel immediately after installing updates with freebsd-update, and that freebsd-update updates the local source tree in /usr/src/ so that binaries and sources are synchronised!
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GENERIC kernel & sources | pippo | Installing & Upgrading | 2 | May 3rd, 2010 21:41 |
| GENERIC kernel | Twister | General | 17 | December 30th, 2009 15:03 |
| Binary update from 7.1-RELEASE-p2 to 7.2 and revert to GENERIC kernel | artvolk | Installing & Upgrading | 6 | November 11th, 2009 15:27 |
| default to accept on GENERIC kernel | Ole | Firewalls | 6 | July 3rd, 2009 10:47 |
| Kernel options | dennylin93 | FreeBSD Development | 2 | March 22nd, 2009 20:06 |