Hello.
I created the config file as a non-privileged user and then as a root user, soft linked this file into /usr/src/sys/amd64/conf. Later on, I compiled the kernel with
As usual, I didn't suspect anything amiss since I could see a lot of source files being compiled. Later on when I tried to install the kernel using
Then as root, I copied the same conf file as before into the root user's HOME directory and modified the above soft link to point to this newly copied file instead of it's original location and then everything seemed to work perfectly. This time around I was able to install the kernel and I could also see a new folder under /usr/obj/usr/src/sys/ corresponding to this new configuration.
I am at my wit's end to understand if this is by design or if I am doing something wrong here. Keen to hear what you folks have to say about this
I created the config file as a non-privileged user and then as a root user, soft linked this file into /usr/src/sys/amd64/conf. Later on, I compiled the kernel with
make buildkernel KERNCONF='name-of-new-conf-file'
. It went straight ahead without flagging any error or anything. As usual, I didn't suspect anything amiss since I could see a lot of source files being compiled. Later on when I tried to install the kernel using
make installkernel KERNCONF='name-of-new-conf-file'
, it failed saying there is no directory for the new configuration under /usr/obj/usr/src/sys/ and indeed there was none.Then as root, I copied the same conf file as before into the root user's HOME directory and modified the above soft link to point to this newly copied file instead of it's original location and then everything seemed to work perfectly. This time around I was able to install the kernel and I could also see a new folder under /usr/obj/usr/src/sys/ corresponding to this new configuration.
I am at my wit's end to understand if this is by design or if I am doing something wrong here. Keen to hear what you folks have to say about this