From patchwork Mon Jan 12 20:36:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Schultz X-Patchwork-Id: 428119 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D8DFF1401D0 for ; Tue, 13 Jan 2015 07:36:38 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1B7FF280532; Mon, 12 Jan 2015 21:34:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 95457284125 for ; Mon, 12 Jan 2015 21:34:11 +0100 (CET) X-policyd-weight: using cached result; rate: -7.7 Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0141.outbound.protection.outlook.com [65.55.169.141]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 12 Jan 2015 21:34:11 +0100 (CET) Received: from [192.168.169.135] (67.53.189.3) by BLUPR06MB020.namprd06.prod.outlook.com (10.242.190.150) with Microsoft SMTP Server (TLS) id 15.1.53.17; Mon, 12 Jan 2015 20:36:17 +0000 Message-ID: <54B43040.3080402@prplfoundation.org> Date: Mon, 12 Jan 2015 14:36:16 -0600 From: Eric Schultz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: , X-Originating-IP: [67.53.189.3] X-ClientProxiedBy: CY1PR0601CA0023.namprd06.prod.outlook.com (25.160.162.33) To BLUPR06MB020.namprd06.prod.outlook.com (10.242.190.150) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=eschultz@prplfoundation.org; X-DmarcAction-Test: None X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(3005003);SRVR:BLUPR06MB020; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:BLUPR06MB020; X-Forefront-PRVS: 0454444834 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(199003)(189002)(23676002)(68736005)(77096005)(122386002)(42186005)(47776003)(64706001)(65806001)(66066001)(40100003)(62966003)(77156002)(33656002)(101416001)(65956001)(229853001)(107886001)(80316001)(105586002)(83506001)(86362001)(19580395003)(19580405001)(106356001)(65816999)(54356999)(50986999)(92566002)(46102003)(87976001)(117156001)(97736003)(50466002)(36756003)(64126003); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR06MB020; H:[192.168.169.135]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: prplfoundation.org does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:BLUPR06MB020; X-OriginatorOrg: prplfoundation.org X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2015 20:36:17.7282 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR06MB020 Subject: [OpenWrt-Devel] [PATCH] Initramfs image copied to bin for malta builds X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Malta ramdisk images are no longer copied to output due to a recent change. This change reimplements copying of ramdisk images for Malta builds. Signed-off-by: Eric Schultz --- target/linux/malta/image/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/linux/malta/image/Makefile b/target/linux/malta/image/Makefile index db2637a..c8f15fd 100644 --- a/target/linux/malta/image/Makefile +++ b/target/linux/malta/image/Makefile @@ -37,6 +37,11 @@ define Image/Build/squashfs $(call prepare_generic_squashfs,$(KDIR)/root.squashfs) endef +define Image/Build/Initramfs + cp $(KDIR)/vmlinux-initramfs.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.elf + cp $(KDIR)/vmlinux-initramfs $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.bin +endef + define Image/Build $(call Image/Build/$(1)) dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync