From owner-freebsd-current@freebsd.org Wed Jul 19 11:37:04 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA55AC7A87E for ; Wed, 19 Jul 2017 11:37:04 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward10p.cmail.yandex.net (forward10p.cmail.yandex.net [IPv6:2a02:6b8:0:1465::102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97E78773CA for ; Wed, 19 Jul 2017 11:37:04 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [5.45.198.129]) by forward10p.cmail.yandex.net (Yandex) with ESMTP id A39B221604 for ; Wed, 19 Jul 2017 14:36:52 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 95D8D3240FB0 for ; Wed, 19 Jul 2017 14:36:49 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id oTTck2FW62-anDGRc8W; Wed, 19 Jul 2017 14:36:49 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1500464209; bh=VmLVtS5C792mg8JERT8tg2iAxoEp+c5z2ipd39Yj2tA=; h=To:From:Subject:Message-ID:Date; b=p6A/xyWOw41zsq6PDtU7+UrnBkCEuOmJuNuy/+hQfifJdZpWGowLo70wCeBnWMBVC aNdFxHx9ebYMH8QOd/me6EKshjyew0FaEZr5chLt7ahqg0hVA2o5WFj5L9VyonEUgQ HAVDW7K0OTLO/+kuIt9FDQf6ZcDkQsyCCN0B4E+E= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@passap.ru X-Yandex-Suid-Status: 1 0 To: freebsd-current@FreeBSD.org From: Boris Samorodov Subject: [base pkg] update !GENERIC kernel Message-ID: Date: Wed, 19 Jul 2017 14:33:12 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2017 11:37:04 -0000 Hi All, I use self-made base packages for an ARM board. The kernel I use is IMX6 one. While pkg update I get this: --- [271/302] Upgrading FreeBSD-kernel-imx6-debug from 12.0.s20170718113533 to 12.0.s20170719070514... [271/302] Extracting FreeBSD-kernel-imx6-debug-12.0.s20170719070514: 100% kldxref: //boot/kernel: No such file or directory pkg: POST-INSTALL script failed [272/302] Upgrading FreeBSD-kernel-imx6 from 12.0.s20170718113533 to 12.0.s20170719070514... [272/302] Extracting FreeBSD-kernel-imx6-12.0.s20170719070514: 100% kldxref: //boot/kernel: No such file or directory pkg: POST-INSTALL script failed --- All is fine except those messages. There is no /boot/kernel, but there is /boot/kernel.IMX6. The kernel is defined at /boot/loader.conf: --- kernel="kernel.IMX6" --- Seems that for now pkg can't handle non-default kernel. Should I just ignore those messages? Or should I run some post-update commands/scripts by hand? BTW, I did not find any evidence of POST-INSTALL scripts at the .txz file. Are they hard-coded at pkg? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve