This is the old SliTaz forum - Please use the main forum.slitaz.org

cooking linux source problem
  • erniaernia December 2010
    after building the kernel i can't succesfully do make tazpkg
    root@521:/usr/src/linux-2.6.36# make tazpkg
    make[1]: *** No rule to make target `tazpkg'. Stop.
    make: *** [tazpkg] Error 2

    if i manually try to apply the patch as in get-linux-source i have
    root@521:/usr/src/linux-2.6.36# patch -p1 -i slitaz/make-tazpkg.u
    patching file scripts/package/Makefile
    Hunk #1 FAILED at 83.
    Hunk #2 FAILED at 93.
    2 out of 2 hunks FAILED -- saving rejects to file scripts/package/Makefile.rej
    root@521:/usr/src/linux-2.6.36# cat scripts/package/Makefile.rej
    --- scripts/package/Makefile Wed Sep 9 05:39:34 2009
    +++ scripts/package/Makefile Fri Dec 25 22:03:55 2009
    @@ -83,7 +83,15 @@

    clean-dirs += $(objtree)/tar-install/

    +# tazpkg target
    +# ---------------------------------------------------------------------------
    +tazpkg: FORCE
    + $(MAKE) KBUILD_SRC=
    + $(CONFIG_SHELL) $(srctree)/scripts/package/buildtaz

    +clean-dirs += $(objtree)/taz/
    +
    +
    # Help text displayed when executing 'make help'
    # ---------------------------------------------------------------------------
    help: FORCE
    @@ -93,4 +101,5 @@
    @echo ' tar-pkg - Build the kernel as an uncompressed tarball'
    @echo ' targz-pkg - Build the kernel as a gzip compressed tarball'
    @echo ' tarbz2-pkg - Build the kernel as a bzip2 compressed tarball'
    + @echo ' tazpkg - Build the kernel as a SliTaz package'

    what's wrong?
  • erniaernia December 2010
    as usual, thanks to you devs :-)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social