mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Changed alternative kernel to a package
This commit is contained in:
@@ -455,10 +455,6 @@ int main(int argc, char *argv[])
|
||||
KERNEL_VERSION);
|
||||
mysystem(commandstring);
|
||||
*/
|
||||
snprintf(commandstring, STRING_SIZE,
|
||||
"/bin/touch /harddisk/lib/modules/2.6.25.17-ipfire/modules.dep");
|
||||
mysystem(commandstring);
|
||||
|
||||
|
||||
/* Rename uname */
|
||||
rename ("/harddisk/bin/uname.bak", "/harddisk/bin/uname");
|
||||
@@ -532,9 +528,6 @@ int main(int argc, char *argv[])
|
||||
/* snprintf(commandstring, STRING_SIZE, "/sbin/chroot /harddisk /sbin/mkinitcpio -g /boot/ipfirerd-%s-smp.img -k %s-ipfire-smp", KERNEL_VERSION, KERNEL_VERSION );
|
||||
runcommandwithstatus(commandstring, ctr[TR_BUILDING_INITRD]);
|
||||
*/
|
||||
snprintf(commandstring, STRING_SIZE, "/sbin/chroot /harddisk /sbin/mkinitcpio -g /boot/ipfirerd-2.6.25.17.img -k 2.6.25.17-ipfire");
|
||||
runcommandwithstatus(commandstring, ctr[TR_BUILDING_INITRD]);
|
||||
|
||||
|
||||
|
||||
sprintf(string, "root=%s3", hdparams.devnode_part_run);
|
||||
|
||||
Reference in New Issue
Block a user