Re: [PATCH 4/7] Include depmod in stage1 and set it to prefer the DD directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/scripts/mk-images b/scripts/mk-images
> index c3b1686..f8e1285 100755
> --- a/scripts/mk-images
> +++ b/scripts/mk-images
> @@ -328,6 +328,11 @@ makemoduletree() {
>          esac
>      done
>  
> +    # create depmod.conf to support DDs
> +    cat > $MMB_DIR/etc/depmod.conf << EOF
> +search /tmp/DD/lib/modules built-in
> +EOF
> +
>      # clean up leftover cruft
>      find -H $MMB_DIR/lib/modules -type d -exec rmdir -f {} \; 2>/dev/null
>      $MODLIST --modinfo-file $MODINFO --ignore-missing --modinfo \

Because our image building code is awesome, you'll also want to add
depmod to this loop in scripts/mk-images (at or near line 881):

    for n in insmod rmmod modprobe; do
        instbin $IMGPATH /usr/sbin/$n $MBD_DIR /sbin/$n
    done

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux