Changeset 778
- Timestamp:
- Dec 11, 2007 12:54:07 AM (5 years ago)
- Location:
- trunk/debirf
- Files:
-
- 1 deleted
- 24 edited
-
COPYING (modified) (5 diffs)
-
debian/changelog (modified) (1 diff)
-
debian/control (modified) (1 diff)
-
debian/copyright (modified) (1 diff)
-
docs/example-profiles/minimal/debirf.conf (modified) (1 diff)
-
docs/example-profiles/rescue/debirf.conf (modified) (1 diff)
-
docs/example-profiles/xkiosk/debirf.conf (modified) (1 diff)
-
fs/usr/bin/build-debirf-kernel (modified) (1 diff)
-
fs/usr/bin/make-debirf (modified) (3 diffs)
-
fs/usr/share/debirf/common (modified) (1 diff)
-
fs/usr/share/debirf/debirf.conf.defaults (modified) (1 diff)
-
fs/usr/share/debirf/plugins/a0_motd (modified) (1 diff)
-
fs/usr/share/debirf/plugins/a0_prep-root (modified) (1 diff)
-
fs/usr/share/debirf/plugins/apt-get-disk-rescue (modified) (1 diff)
-
fs/usr/share/debirf/plugins/bootlog (modified) (1 diff)
-
fs/usr/share/debirf/plugins/hostname (modified) (1 diff)
-
fs/usr/share/debirf/plugins/install-kernel (modified) (2 diffs)
-
fs/usr/share/debirf/plugins/install-udev (modified) (1 diff)
-
fs/usr/share/debirf/plugins/interfaces (modified) (1 diff)
-
fs/usr/share/debirf/plugins/root-bashrc (modified) (1 diff)
-
fs/usr/share/debirf/plugins/serial-terminal (modified) (1 diff)
-
fs/usr/share/debirf/plugins/xkiosk (modified) (1 diff)
-
fs/usr/share/debirf/plugins/z0_remove-locales (modified) (1 diff)
-
fs/usr/share/debirf/plugins/z1_clean-root (modified) (1 diff)
-
fs/var (deleted)
Legend:
- Unmodified
- Added
- Removed
-
trunk/debirf/COPYING
r691 r778 1 The debirf scripts were written by Jameson Rollins <jrollins@fifthhorseman.net> 2 and Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 3 4 They are Copyright 2007, and are all released under the GPL, version 2 1 Debirf is a tool for making images of DEBian on InitRamFs. 2 It is free software, written by Jameson Rollins 3 <jrollins@fifthhorseman.net> and Daniel Kahn Gillmor 4 <dkg-debian.org@fifthhorseman.net>. 5 6 Debirf is distributed in the hope that it will be useful, but WITHOUT 7 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 8 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 9 for more details. 10 11 Debirf Copyright 2007, and are all released under the GPL, version 3 5 12 or later. 6 13 7 GNU GENERAL PUBLIC LICENSE 8 Version 2, June 1991 9 10 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 11 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA14 15 GNU GENERAL PUBLIC LICENSE 16 Version 3, 29 June 2007 17 18 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 12 19 Everyone is permitted to copy and distribute verbatim copies 13 20 of this license document, but changing it is not allowed. 14 21 15 Preamble 16 17 The licenses for most software are designed to take away your 18 freedom to share and change it. By contrast, the GNU General Public 19 License is intended to guarantee your freedom to share and change free 20 software--to make sure the software is free for all its users. This 21 General Public License applies to most of the Free Software 22 Foundation's software and to any other program whose authors commit to 23 using it. (Some other Free Software Foundation software is covered by 24 the GNU Lesser General Public License instead.) You can apply it to 22 Preamble 23 24 The GNU General Public License is a free, copyleft license for 25 software and other kinds of works. 26 27 The licenses for most software and other practical works are designed 28 to take away your freedom to share and change the works. By contrast, 29 the GNU General Public License is intended to guarantee your freedom to 30 share and change all versions of a program--to make sure it remains free 31 software for all its users. We, the Free Software Foundation, use the 32 GNU General Public License for most of our software; it applies also to 33 any other work released this way by its authors. You can apply it to 25 34 your programs, too. 26 35 … … 28 37 price. Our General Public Licenses are designed to make sure that you 29 38 have the freedom to distribute copies of free software (and charge for 30 th is service if you wish), that you receive source code or can get it31 if you want it, that you can change the software or use pieces of it 32 in new free programs;and that you know you can do these things.33 34 To protect your rights, we need to make restrictions that forbid35 anyone to deny you these rights or to ask you to surrender the rights. 36 These restrictions translate to certain responsibilities for you if you 37 distribute copies of the software, or if you modify it.39 them if you wish), that you receive source code or can get it if you 40 want it, that you can change the software or use pieces of it in new 41 free programs, and that you know you can do these things. 42 43 To protect your rights, we need to prevent others from denying you 44 these rights or asking you to surrender the rights. Therefore, you have 45 certain responsibilities if you distribute copies of the software, or if 46 you modify it: responsibilities to respect the freedom of others. 38 47 39 48 For example, if you distribute copies of such a program, whether 40 gratis or for a fee, you must give the recipients all the rights that 41 you have. You must make sure that they, too, receive or can get the 42 source code. And you must show them these terms so they know their 43 rights. 44 45 We protect your rights with two steps: (1) copyright the software, and 46 (2) offer you this license which gives you legal permission to copy, 47 distribute and/or modify the software. 48 49 Also, for each author's protection and ours, we want to make certain 50 that everyone understands that there is no warranty for this free 51 software. If the software is modified by someone else and passed on, we 52 want its recipients to know that what they have is not the original, so 53 that any problems introduced by others will not reflect on the original 54 authors' reputations. 55 56 Finally, any free program is threatened constantly by software 57 patents. We wish to avoid the danger that redistributors of a free 58 program will individually obtain patent licenses, in effect making the 59 program proprietary. To prevent this, we have made it clear that any 60 patent must be licensed for everyone's free use or not licensed at all. 49 gratis or for a fee, you must pass on to the recipients the same 50 freedoms that you received. You must make sure that they, too, receive 51 or can get the source code. And you must show them these terms so they 52 know their rights. 53 54 Developers that use the GNU GPL protect your rights with two steps: 55 (1) assert copyright on the software, and (2) offer you this License 56 giving you legal permission to copy, distribute and/or modify it. 57 58 For the developers' and authors' protection, the GPL clearly explains 59 that there is no warranty for this free software. For both users' and 60 authors' sake, the GPL requires that modified versions be marked as 61 changed, so that their problems will not be attributed erroneously to 62 authors of previous versions. 63 64 Some devices are designed to deny users access to install or run 65 modified versions of the software inside them, although the manufacturer 66 can do so. This is fundamentally incompatible with the aim of 67 protecting users' freedom to change the software. The systematic 68 pattern of such abuse occurs in the area of products for individuals to 69 use, which is precisely where it is most unacceptable. Therefore, we 70 have designed this version of the GPL to prohibit the practice for those 71 products. If such problems arise substantially in other domains, we 72 stand ready to extend this provision to those domains in future versions 73 of the GPL, as needed to protect the freedom of users. 74 75 Finally, every program is threatened constantly by software patents. 76 States should not allow patents to restrict development and use of 77 software on general-purpose computers, but in those that do, we wish to 78 avoid the special danger that patents applied to a free program could 79 make it effectively proprietary. To prevent this, the GPL assures that 80 patents cannot be used to render the program non-free. 61 81 62 82 The precise terms and conditions for copying, distribution and 63 83 modification follow. 64 84 65 GNU GENERAL PUBLIC LICENSE 66 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 67 68 0. This License applies to any program or other work which contains 69 a notice placed by the copyright holder saying it may be distributed 70 under the terms of this General Public License. The "Program", below, 71 refers to any such program or work, and a "work based on the Program" 72 means either the Program or any derivative work under copyright law: 73 that is to say, a work containing the Program or a portion of it, 74 either verbatim or with modifications and/or translated into another 75 language. (Hereinafter, translation is included without limitation in 76 the term "modification".) Each licensee is addressed as "you". 77 78 Activities other than copying, distribution and modification are not 79 covered by this License; they are outside its scope. The act of 80 running the Program is not restricted, and the output from the Program 81 is covered only if its contents constitute a work based on the 82 Program (independent of having been made by running the Program). 83 Whether that is true depends on what the Program does. 84 85 1. You may copy and distribute verbatim copies of the Program's 86 source code as you receive it, in any medium, provided that you 87 conspicuously and appropriately publish on each copy an appropriate 88 copyright notice and disclaimer of warranty; keep intact all the 89 notices that refer to this License and to the absence of any warranty; 90 and give any other recipients of the Program a copy of this License 91 along with the Program. 92 93 You may charge a fee for the physical act of transferring a copy, and 94 you may at your option offer warranty protection in exchange for a fee. 95 96 2. You may modify your copy or copies of the Program or any portion 97 of it, thus forming a work based on the Program, and copy and 98 distribute such modifications or work under the terms of Section 1 99 above, provided that you also meet all of these conditions: 100 101 a) You must cause the modified files to carry prominent notices 102 stating that you changed the files and the date of any change. 103 104 b) You must cause any work that you distribute or publish, that in 105 whole or in part contains or is derived from the Program or any 106 part thereof, to be licensed as a whole at no charge to all third 107 parties under the terms of this License. 108 109 c) If the modified program normally reads commands interactively 110 when run, you must cause it, when started running for such 111 interactive use in the most ordinary way, to print or display an 112 announcement including an appropriate copyright notice and a 113 notice that there is no warranty (or else, saying that you provide 114 a warranty) and that users may redistribute the program under 115 these conditions, and telling the user how to view a copy of this 116 License. (Exception: if the Program itself is interactive but 117 does not normally print such an announcement, your work based on 118 the Program is not required to print an announcement.) 119 120 These requirements apply to the modified work as a whole. If 121 identifiable sections of that work are not derived from the Program, 122 and can be reasonably considered independent and separate works in 123 themselves, then this License, and its terms, do not apply to those 124 sections when you distribute them as separate works. But when you 125 distribute the same sections as part of a whole which is a work based 126 on the Program, the distribution of the whole must be on the terms of 127 this License, whose permissions for other licensees extend to the 128 entire whole, and thus to each and every part regardless of who wrote it. 129 130 Thus, it is not the intent of this section to claim rights or contest 131 your rights to work written entirely by you; rather, the intent is to 132 exercise the right to control the distribution of derivative or 133 collective works based on the Program. 134 135 In addition, mere aggregation of another work not based on the Program 136 with the Program (or with a work based on the Program) on a volume of 137 a storage or distribution medium does not bring the other work under 138 the scope of this License. 139 140 3. You may copy and distribute the Program (or a work based on it, 141 under Section 2) in object code or executable form under the terms of 142 Sections 1 and 2 above provided that you also do one of the following: 143 144 a) Accompany it with the complete corresponding machine-readable 145 source code, which must be distributed under the terms of Sections 146 1 and 2 above on a medium customarily used for software interchange; or, 147 148 b) Accompany it with a written offer, valid for at least three 149 years, to give any third party, for a charge no more than your 150 cost of physically performing source distribution, a complete 151 machine-readable copy of the corresponding source code, to be 152 distributed under the terms of Sections 1 and 2 above on a medium 153 customarily used for software interchange; or, 154 155 c) Accompany it with the information you received as to the offer 156 to distribute corresponding source code. (This alternative is 157 allowed only for noncommercial distribution and only if you 158 received the program in object code or executable form with such 159 an offer, in accord with Subsection b above.) 160 161 The source code for a work means the preferred form of the work for 162 making modifications to it. For an executable work, complete source 163 code means all the source code for all modules it contains, plus any 164 associated interface definition files, plus the scripts used to 165 control compilation and installation of the executable. However, as a 166 special exception, the source code distributed need not include 167 anything that is normally distributed (in either source or binary 168 form) with the major components (compiler, kernel, and so on) of the 169 operating system on which the executable runs, unless that component 170 itself accompanies the executable. 171 172 If distribution of executable or object code is made by offering 173 access to copy from a designated place, then offering equivalent 174 access to copy the source code from the same place counts as 175 distribution of the source code, even though third parties are not 176 compelled to copy the source along with the object code. 177 178 4. You may not copy, modify, sublicense, or distribute the Program 179 except as expressly provided under this License. Any attempt 180 otherwise to copy, modify, sublicense or distribute the Program is 181 void, and will automatically terminate your rights under this License. 182 However, parties who have received copies, or rights, from you under 183 this License will not have their licenses terminated so long as such 184 parties remain in full compliance. 185 186 5. You are not required to accept this License, since you have not 187 signed it. However, nothing else grants you permission to modify or 188 distribute the Program or its derivative works. These actions are 189 prohibited by law if you do not accept this License. Therefore, by 190 modifying or distributing the Program (or any work based on the 191 Program), you indicate your acceptance of this License to do so, and 192 all its terms and conditions for copying, distributing or modifying 193 the Program or works based on it. 194 195 6. Each time you redistribute the Program (or any work based on the 196 Program), the recipient automatically receives a license from the 197 original licensor to copy, distribute or modify the Program subject to 198 these terms and conditions. You may not impose any further 199 restrictions on the recipients' exercise of the rights granted herein. 200 You are not responsible for enforcing compliance by third parties to 85 TERMS AND CONDITIONS 86 87 0. Definitions. 88 89 "This License" refers to version 3 of the GNU General Public License. 90 91 "Copyright" also means copyright-like laws that apply to other kinds of 92 works, such as semiconductor masks. 93 94 "The Program" refers to any copyrightable work licensed under this 95 License. Each licensee is addressed as "you". "Licensees" and 96 "recipients" may be individuals or organizations. 97 98 To "modify" a work means to copy from or adapt all or part of the work 99 in a fashion requiring copyright permission, other than the making of an 100 exact copy. The resulting work is called a "modified version" of the 101 earlier work or a work "based on" the earlier work. 102 103 A "covered work" means either the unmodified Program or a work based 104 on the Program. 105 106 To "propagate" a work means to do anything with it that, without 107 permission, would make you directly or secondarily liable for 108 infringement under applicable copyright law, except executing it on a 109 computer or modifying a private copy. Propagation includes copying, 110 distribution (with or without modification), making available to the 111 public, and in some countries other activities as well. 112 113 To "convey" a work means any kind of propagation that enables other 114 parties to make or receive copies. Mere interaction with a user through 115 a computer network, with no transfer of a copy, is not conveying. 116 117 An interactive user interface displays "Appropriate Legal Notices" 118 to the extent that it includes a convenient and prominently visible 119 feature that (1) displays an appropriate copyright notice, and (2) 120 tells the user that there is no warranty for the work (except to the 121 extent that warranties are provided), that licensees may convey the 122 work under this License, and how to view a copy of this License. If 123 the interface presents a list of user commands or options, such as a 124 menu, a prominent item in the list meets this criterion. 125 126 1. Source Code. 127 128 The "source code" for a work means the preferred form of the work 129 for making modifications to it. "Object code" means any non-source 130 form of a work. 131 132 A "Standard Interface" means an interface that either is an official 133 standard defined by a recognized standards body, or, in the case of 134 interfaces specified for a particular programming language, one that 135 is widely used among developers working in that language. 136 137 The "System Libraries" of an executable work include anything, other 138 than the work as a whole, that (a) is included in the normal form of 139 packaging a Major Component, but which is not part of that Major 140 Component, and (b) serves only to enable use of the work with that 141 Major Component, or to implement a Standard Interface for which an 142 implementation is available to the public in source code form. A 143 "Major Component", in this context, means a major essential component 144 (kernel, window system, and so on) of the specific operating system 145 (if any) on which the executable work runs, or a compiler used to 146 produce the work, or an object code interpreter used to run it. 147 148 The "Corresponding Source" for a work in object code form means all 149 the source code needed to generate, install, and (for an executable 150 work) run the object code and to modify the work, including scripts to 151 control those activities. However, it does not include the work's 152 System Libraries, or general-purpose tools or generally available free 153 programs which are used unmodified in performing those activities but 154 which are not part of the work. For example, Corresponding Source 155 includes interface definition files associated with source files for 156 the work, and the source code for shared libraries and dynamically 157 linked subprograms that the work is specifically designed to require, 158 such as by intimate data communication or control flow between those 159 subprograms and other parts of the work. 160 161 The Corresponding Source need not include anything that users 162 can regenerate automatically from other parts of the Corresponding 163 Source. 164 165 The Corresponding Source for a work in source code form is that 166 same work. 167 168 2. Basic Permissions. 169 170 All rights granted under this License are granted for the term of 171 copyright on the Program, and are irrevocable provided the stated 172 conditions are met. This License explicitly affirms your unlimited 173 permission to run the unmodified Program. The output from running a 174 covered work is covered by this License only if the output, given its 175 content, constitutes a covered work. This License acknowledges your 176 rights of fair use or other equivalent, as provided by copyright law. 177 178 You may make, run and propagate covered works that you do not 179 convey, without conditions so long as your license otherwise remains 180 in force. You may convey covered works to others for the sole purpose 181 of having them make modifications exclusively for you, or provide you 182 with facilities for running those works, provided that you comply with 183 the terms of this License in conveying all material for which you do 184 not control copyright. Those thus making or running the covered works 185 for you must do so exclusively on your behalf, under your direction 186 and control, on terms that prohibit them from making any copies of 187 your copyrighted material outside their relationship with you. 188 189 Conveying under any other circumstances is permitted solely under 190 the conditions stated below. Sublicensing is not allowed; section 10 191 makes it unnecessary. 192 193 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 194 195 No covered work shall be deemed part of an effective technological 196 measure under any applicable law fulfilling obligations under article 197 11 of the WIPO copyright treaty adopted on 20 December 1996, or 198 similar laws prohibiting or restricting circumvention of such 199 measures. 200 201 When you convey a covered work, you waive any legal power to forbid 202 circumvention of technological measures to the extent such circumvention 203 is effected by exercising rights under this License with respect to 204 the covered work, and you disclaim any intention to limit operation or 205 modification of the work as a means of enforcing, against the work's 206 users, your or third parties' legal rights to forbid circumvention of 207 technological measures. 208 209 4. Conveying Verbatim Copies. 210 211 You may convey verbatim copies of the Program's source code as you 212 receive it, in any medium, provided that you conspicuously and 213 appropriately publish on each copy an appropriate copyright notice; 214 keep intact all notices stating that this License and any 215 non-permissive terms added in accord with section 7 apply to the code; 216 keep intact all notices of the absence of any warranty; and give all 217 recipients a copy of this License along with the Program. 218 219 You may charge any price or no price for each copy that you convey, 220 and you may offer support or warranty protection for a fee. 221 222 5. Conveying Modified Source Versions. 223 224 You may convey a work based on the Program, or the modifications to 225 produce it from the Program, in the form of source code under the 226 terms of section 4, provided that you also meet all of these conditions: 227 228 a) The work must carry prominent notices stating that you modified 229 it, and giving a relevant date. 230 231 b) The work must carry prominent notices stating that it is 232 released under this License and any conditions added under section 233 7. This requirement modifies the requirement in section 4 to 234 "keep intact all notices". 235 236 c) You must license the entire work, as a whole, under this 237 License to anyone who comes into possession of a copy. This 238 License will therefore apply, along with any applicable section 7 239 additional terms, to the whole of the work, and all its parts, 240 regardless of how they are packaged. This License gives no 241 permission to license the work in any other way, but it does not 242 invalidate such permission if you have separately received it. 243 244 d) If the work has interactive user interfaces, each must display 245 Appropriate Legal Notices; however, if the Program has interactive 246 interfaces that do not display Appropriate Legal Notices, your 247 work need not make them do so. 248 249 A compilation of a covered work with other separate and independent 250 works, which are not by their nature extensions of the covered work, 251 and which are not combined with it such as to form a larger program, 252 in or on a volume of a storage or distribution medium, is called an 253 "aggregate" if the compilation and its resulting copyright are not 254 used to limit the access or legal rights of the compilation's users 255 beyond what the individual works permit. Inclusion of a covered work 256 in an aggregate does not cause this License to apply to the other 257 parts of the aggregate. 258 259 6. Conveying Non-Source Forms. 260 261 You may convey a covered work in object code form under the terms 262 of sections 4 and 5, provided that you also convey the 263 machine-readable Corresponding Source under the terms of this License, 264 in one of these ways: 265 266 a) Convey the object code in, or embodied in, a physical product 267 (including a physical distribution medium), accompanied by the 268 Corresponding Source fixed on a durable physical medium 269 customarily used for software interchange. 270 271 b) Convey the object code in, or embodied in, a physical product 272 (including a physical distribution medium), accompanied by a 273 written offer, valid for at least three years and valid for as 274 long as you offer spare parts or customer support for that product 275 model, to give anyone who possesses the object code either (1) a 276 copy of the Corresponding Source for all the software in the 277 product that is covered by this License, on a durable physical 278 medium customarily used for software interchange, for a price no 279 more than your reasonable cost of physically performing this 280 conveying of source, or (2) access to copy the 281 Corresponding Source from a network server at no charge. 282 283 c) Convey individual copies of the object code with a copy of the 284 written offer to provide the Corresponding Source. This 285 alternative is allowed only occasionally and noncommercially, and 286 only if you received the object code with such an offer, in accord 287 with subsection 6b. 288 289 d) Convey the object code by offering access from a designated 290 place (gratis or for a charge), and offer equivalent access to the 291 Corresponding Source in the same way through the same place at no 292 further charge. You need not require recipients to copy the 293 Corresponding Source along with the object code. If the place to 294 copy the object code is a network server, the Corresponding Source 295 may be on a different server (operated by you or a third party) 296 that supports equivalent copying facilities, provided you maintain 297 clear directions next to the object code saying where to find the 298 Corresponding Source. Regardless of what server hosts the 299 Corresponding Source, you remain obligated to ensure that it is 300 available for as long as needed to satisfy these requirements. 301 302 e) Convey the object code using peer-to-peer transmission, provided 303 you inform other peers where the object code and Corresponding 304 Source of the work are being offered to the general public at no 305 charge under subsection 6d. 306 307 A separable portion of the object code, whose source code is excluded 308 from the Corresponding Source as a System Library, need not be 309 included in conveying the object code work. 310 311 A "User Product" is either (1) a "consumer product", which means any 312 tangible personal property which is normally used for personal, family, 313 or household purposes, or (2) anything designed or sold for incorporation 314 into a dwelling. In determining whether a product is a consumer product, 315 doubtful cases shall be resolved in favor of coverage. For a particular 316 product received by a particular user, "normally used" refers to a 317 typical or common use of that class of product, regardless of the status 318 of the particular user or of the way in which the particular user 319 actually uses, or expects or is expected to use, the product. A product 320 is a consumer product regardless of whether the product has substantial 321 commercial, industrial or non-consumer uses, unless such uses represent 322 the only significant mode of use of the product. 323 324 "Installation Information" for a User Product means any methods, 325 procedures, authorization keys, or other information required to install 326 and execute modified versions of a covered work in that User Product from 327 a modified version of its Corresponding Source. The information must 328 suffice to ensure that the continued functioning of the modified object 329 code is in no case prevented or interfered with solely because 330 modification has been made. 331 332 If you convey an object code work under this section in, or with, or 333 specifically for use in, a User Product, and the conveying occurs as 334 part of a transaction in which the right of possession and use of the 335 User Product is transferred to the recipient in perpetuity or for a 336 fixed term (regardless of how the transaction is characterized), the 337 Corresponding Source conveyed under this section must be accompanied 338 by the Installation Information. But this requirement does not apply 339 if neither you nor any third party retains the ability to install 340 modified object code on the User Product (for example, the work has 341 been installed in ROM). 342 343 The requirement to provide Installation Information does not include a 344 requirement to continue to provide support service, warranty, or updates 345 for a work that has been modified or installed by the recipient, or for 346 the User Product in which it has been modified or installed. Access to a 347 network may be denied when the modification itself materially and 348 adversely affects the operation of the network or violates the rules and 349 protocols for communication across the network. 350 351 Corresponding Source conveyed, and Installation Information provided, 352 in accord with this section must be in a format that is publicly 353 documented (and with an implementation available to the public in 354 source code form), and must require no special password or key for 355 unpacking, reading or copying. 356 357 7. Additional Terms. 358 359 "Additional permissions" are terms that supplement the terms of this 360 License by making exceptions from one or more of its conditions. 361 Additional permissions that are applicable to the entire Program shall 362 be treated as though they were included in this License, to the extent 363 that they are valid under applicable law. If additional permissions 364 apply only to part of the Program, that part may be used separately 365 under those permissions, but the entire Program remains governed by 366 this License without regard to the additional permissions. 367 368 When you convey a copy of a covered work, you may at your option 369 remove any additional permissions from that copy, or from any part of 370 it. (Additional permissions may be written to require their own 371 removal in certain cases when you modify the work.) You may place 372 additional permissions on material, added by you to a covered work, 373 for which you have or can give appropriate copyright permission. 374 375 Notwithstanding any other provision of this License, for material you 376 add to a covered work, you may (if authorized by the copyright holders of 377 that material) supplement the terms of this License with terms: 378 379 a) Disclaiming warranty or limiting liability differently from the 380 terms of sections 15 and 16 of this License; or 381 382 b) Requiring preservation of specified reasonable legal notices or 383 author attributions in that material or in the Appropriate Legal 384 Notices displayed by works containing it; or 385 386 c) Prohibiting misrepresentation of the origin of that material, or 387 requiring that modified versions of such material be marked in 388 reasonable ways as different from the original version; or 389 390 d) Limiting the use for publicity purposes of names of licensors or 391 authors of the material; or 392 393 e) Declining to grant rights under trademark law for use of some 394 trade names, trademarks, or service marks; or 395 396 f) Requiring indemnification of licensors and authors of that 397 material by anyone who conveys the material (or modified versions of 398 it) with contractual assumptions of liability to the recipient, for 399 any liability that these contractual assumptions directly impose on 400 those licensors and authors. 401 402 All other non-permissive additional terms are considered "further 403 restrictions" within the meaning of section 10. If the Program as you 404 received it, or any part of it, contains a notice stating that it is 405 governed by this License along with a term that is a further 406 restriction, you may remove that term. If a license document contains 407 a further restriction but permits relicensing or conveying under this 408 License, you may add to a covered work material governed by the terms 409 of that license document, provided that the further restriction does 410 not survive such relicensing or conveying. 411 412 If you add terms to a covered work in accord with this section, you 413 must place, in the relevant source files, a statement of the 414 additional terms that apply to those files, or a notice indicating 415 where to find the applicable terms. 416 417 Additional terms, permissive or non-permissive, may be stated in the 418 form of a separately written license, or stated as exceptions; 419 the above requirements apply either way. 420 421 8. Termination. 422 423 You may not propagate or modify a covered work except as expressly 424 provided under this License. Any attempt otherwise to propagate or 425 modify it is void, and will automatically terminate your rights under 426 this License (including any patent licenses granted under the third 427 paragraph of section 11). 428 429 However, if you cease all violation of this License, then your 430 license from a particular copyright holder is reinstated (a) 431 provisionally, unless and until the copyright holder explicitly and 432 finally terminates your license, and (b) permanently, if the copyright 433 holder fails to notify you of the violation by some reasonable means 434 prior to 60 days after the cessation. 435 436 Moreover, your license from a particular copyright holder is 437 reinstated permanently if the copyright holder notifies you of the 438 violation by some reasonable means, this is the first time you have 439 received notice of violation of this License (for any work) from that 440 copyright holder, and you cure the violation prior to 30 days after 441 your receipt of the notice. 442 443 Termination of your rights under this section does not terminate the 444 licenses of parties who have received copies or rights from you under 445 this License. If your rights have been terminated and not permanently 446 reinstated, you do not qualify to receive new licenses for the same 447 material under section 10. 448 449 9. Acceptance Not Required for Having Copies. 450 451 You are not required to accept this License in order to receive or 452 run a copy of the Program. Ancillary propagation of a covered work 453 occurring solely as a consequence of using peer-to-peer transmission 454 to receive a copy likewise does not require acceptance. However, 455 nothing other than this License grants you permission to propagate or 456 modify any covered work. These actions infringe copyright if you do 457 not accept this License. Therefore, by modifying or propagating a 458 covered work, you indicate your acceptance of this License to do so. 459 460 10. Automatic Licensing of Downstream Recipients. 461 462 Each time you convey a covered work, the recipient automatically 463 receives a license from the original licensors, to run, modify and 464 propagate that work, subject to this License. You are not responsible 465 for enforcing compliance by third parties with this License. 466 467 An "entity transaction" is a transaction transferring control of an 468 organization, or substantially all assets of one, or subdividing an 469 organization, or merging organizations. If propagation of a covered 470 work results from an entity transaction, each party to that 471 transaction who receives a copy of the work also receives whatever 472 licenses to the work the party's predecessor in interest had or could 473 give under the previous paragraph, plus a right to possession of the 474 Corresponding Source of the work from the predecessor in interest, if 475 the predecessor has it or can get it with reasonable efforts. 476 477 You may not impose any further restrictions on the exercise of the 478 rights granted or affirmed under this License. For example, you may 479 not impose a license fee, royalty, or other charge for exercise of 480 rights granted under this License, and you may not initiate litigation 481 (including a cross-claim or counterclaim in a lawsuit) alleging that 482 any patent claim is infringed by making, using, selling, offering for 483 sale, or importing the Program or any portion of it. 484 485 11. Patents. 486 487 A "contributor" is a copyright holder who authorizes use under this 488 License of the Program or a work on which the Program is based. The 489 work thus licensed is called the contributor's "contributor version". 490 491 A contributor's "essential patent claims" are all patent claims 492 owned or controlled by the contributor, whether already acquired or 493 hereafter acquired, that would be infringed by some manner, permitted 494 by this License, of making, using, or selling its contributor version, 495 but do not include claims that would be infringed only as a 496 consequence of further modification of the contributor version. For 497 purposes of this definition, "control" includes the right to grant 498 patent sublicenses in a manner consistent with the requirements of 201 499 this License. 202 500 203 7. If, as a consequence of a court judgment or allegation of patent 204 infringement or for any other reason (not limited to patent issues), 205 conditions are imposed on you (whether by court order, agreement or 501 Each contributor grants you a non-exclusive, worldwide, royalty-free 502 patent license under the contributor's essential patent claims, to 503 make, use, sell, offer for sale, import and otherwise run, modify and 504 propagate the contents of its contributor version. 505 506 In the following three paragraphs, a "patent license" is any express 507 agreement or commitment, however denominated, not to enforce a patent 508 (such as an express permission to practice a patent or covenant not to 509 sue for patent infringement). To "grant" such a patent license to a 510 party means to make such an agreement or commitment not to enforce a 511 patent against the party. 512 513 If you convey a covered work, knowingly relying on a patent license, 514 and the Corresponding Source of the work is not available for anyone 515 to copy, free of charge and under the terms of this License, through a 516 publicly available network server or other readily accessible means, 517 then you must either (1) cause the Corresponding Source to be so 518 available, or (2) arrange to deprive yourself of the benefit of the 519 patent license for this particular work, or (3) arrange, in a manner 520 consistent with the requirements of this License, to extend the patent 521 license to downstream recipients. "Knowingly relying" means you have 522 actual knowledge that, but for the patent license, your conveying the 523 covered work in a country, or your recipient's use of the covered work 524 in a country, would infringe one or more identifiable patents in that 525 country that you have reason to believe are valid. 526 527 If, pursuant to or in connection with a single transaction or 528 arrangement, you convey, or propagate by procuring conveyance of, a 529 covered work, and grant a patent license to some of the parties 530 receiving the covered work authorizing them to use, propagate, modify 531 or convey a specific copy of the covered work, then the patent license 532 you grant is automatically extended to all recipients of the covered 533 work and works based on it. 534 535 A patent license is "discriminatory" if it does not include within 536 the scope of its coverage, prohibits the exercise of, or is 537 conditioned on the non-exercise of one or more of the rights that are 538 specifically granted under this License. You may not convey a covered 539 work if you are a party to an arrangement with a third party that is 540 in the business of distributing software, under which you make payment 541 to the third party based on the extent of your activity of conveying 542 the work, and under which the third party grants, to any of the 543 parties who would receive the covered work from you, a discriminatory 544 patent license (a) in connection with copies of the covered work 545 conveyed by you (or copies made from those copies), or (b) primarily 546 for and in connection with specific products or compilations that 547 contain the covered work, unless you entered into that arrangement, 548 or that patent license was granted, prior to 28 March 2007. 549 550 Nothing in this License shall be construed as excluding or limiting 551 any implied license or other defenses to infringement that may 552 otherwise be available to you under applicable patent law. 553 554 12. No Surrender of Others' Freedom. 555 556 If conditions are imposed on you (whether by court order, agreement or 206 557 otherwise) that contradict the conditions of this License, they do not 207 excuse you from the conditions of this License. If you cannot 208 distribute so as to satisfy simultaneously your obligations under this 209 License and any other pertinent obligations, then as a consequence you 210 may not distribute the Program at all. For example, if a patent 211 license would not permit royalty-free redistribution of the Program by 212 all those who receive copies directly or indirectly through you, then 213 the only way you could satisfy both it and this License would be to 214 refrain entirely from distribution of the Program. 215 216 If any portion of this section is held invalid or unenforceable under 217 any particular circumstance, the balance of the section is intended to 218 apply and the section as a whole is intended to apply in other 219 circumstances. 220 221 It is not the purpose of this section to induce you to infringe any 222 patents or other property right claims or to contest validity of any 223 such claims; this section has the sole purpose of protecting the 224 integrity of the free software distribution system, which is 225 implemented by public license practices. Many people have made 226 generous contributions to the wide range of software distributed 227 through that system in reliance on consistent application of that 228 system; it is up to the author/donor to decide if he or she is willing 229 to distribute software through any other system and a licensee cannot 230 impose that choice. 231 232 This section is intended to make thoroughly clear what is believed to 233 be a consequence of the rest of this License. 234 235 8. If the distribution and/or use of the Program is restricted in 236 certain countries either by patents or by copyrighted interfaces, the 237 original copyright holder who places the Program under this License 238 may add an explicit geographical distribution limitation excluding 239 those countries, so that distribution is permitted only in or among 240 countries not thus excluded. In such case, this License incorporates 241 the limitation as if written in the body of this License. 242 243 9. The Free Software Foundation may publish revised and/or new versions 244 of the General Public License from time to time. Such new versions will 558 excuse you from the conditions of this License. If you cannot convey a 559 covered work so as to satisfy simultaneously your obligations under this 560 License and any other pertinent obligations, then as a consequence you may 561 not convey it at all. For example, if you agree to terms that obligate you 562 to collect a royalty for further conveying from those to whom you convey 563 the Program, the only way you could satisfy both those terms and this 564 License would be to refrain entirely from conveying the Program. 565 566 13. Use with the GNU Affero General Public License. 567 568 Notwithstanding any other provision of this License, you have 569 permission to link or combine any covered work with a work licensed 570 under version 3 of the GNU Affero General Public License into a single 571 combined work, and to convey the resulting work. The terms of this 572 License will continue to apply to the part which is the covered work, 573 but the special requirements of the GNU Affero General Public License, 574 section 13, concerning interaction through a network will apply to the 575 combination as such. 576 577 14. Revised Versions of this License. 578 579 The Free Software Foundation may publish revised and/or new versions of 580 the GNU General Public License from time to time. Such new versions will 245 581 be similar in spirit to the present version, but may differ in detail to 246 582 address new problems or concerns. 247 583 248 Each version is given a distinguishing version number. If the Program 249 specifies a version number of this License which applies to it and "any 250 later version", you have the option of following the terms and conditions 251 either of that version or of any later version published by the Free 252 Software Foundation. If the Program does not specify a version number of 253 this License, you may choose any version ever published by the Free Software 254 Foundation. 255 256 10. If you wish to incorporate parts of the Program into other free 257 programs whose distribution conditions are different, write to the author 258 to ask for permission. For software which is copyrighted by the Free 259 Software Foundation, write to the Free Software Foundation; we sometimes 260 make exceptions for this. Our decision will be guided by the two goals 261 of preserving the free status of all derivatives of our free software and 262 of promoting the sharing and reuse of software generally. 263 264 NO WARRANTY 265 266 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 267 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 268 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 269 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 270 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 271 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 272 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 273 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 274 REPAIR OR CORRECTION. 275 276 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 277 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 278 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 279 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 280 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 281 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 282 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 283 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 284 POSSIBILITY OF SUCH DAMAGES. 285 286 END OF TERMS AND CONDITIONS 287 288 How to Apply These Terms to Your New Programs 584 Each version is given a distinguishing version number. If the 585 Program specifies that a certain numbered version of the GNU General 586 Public License "or any later version" applies to it, you have the 587 option of following the terms and conditions either of that numbered 588 version or of any later version published by the Free Software 589 Foundation. If the Program does not specify a version number of the 590 GNU General Public License, you may choose any version ever published 591 by the Free Software Foundation. 592 593 If the Program specifies that a proxy can decide which future 594 versions of the GNU General Public License can be used, that proxy's 595 public statement of acceptance of a version permanently authorizes you 596 to choose that version for the Program. 597 598 Later license versions may give you additional or different 599 permissions. However, no additional obligations are imposed on any 600 author or copyright holder as a result of your choosing to follow a 601 later version. 602 603 15. Disclaimer of Warranty. 604 605 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 606 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 607 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 608 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 609 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 610 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 611 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 612 ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 613 614 16. Limitation of Liability. 615 616 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 617 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 618 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 619 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 620 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 621 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 622 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 623 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 624 SUCH DAMAGES. 625 626 17. Interpretation of Sections 15 and 16. 627 628 If the disclaimer of warranty and limitation of liability provided 629 above cannot be given local legal effect according to their terms, 630 reviewing courts shall apply local law that most closely approximates 631 an absolute waiver of all civil liability in connection with the 632 Program, unless a warranty or assumption of liability accompanies a 633 copy of the Program in return for a fee. 634 635 END OF TERMS AND CONDITIONS 636 637 How to Apply These Terms to Your New Programs 289 638 290 639 If you develop a new program, and you want it to be of the greatest … … 294 643 To do so, attach the following notices to the program. It is safest 295 644 to attach them to the start of each source file to most effectively 296 conveythe exclusion of warranty; and each file should have at least645 state the exclusion of warranty; and each file should have at least 297 646 the "copyright" line and a pointer to where the full notice is found. 298 647 … … 300 649 Copyright (C) <year> <name of author> 301 650 302 This program is free software ;you can redistribute it and/or modify651 This program is free software: you can redistribute it and/or modify 303 652 it under the terms of the GNU General Public License as published by 304 the Free Software Foundation ; either version 2of the License, or653 the Free Software Foundation, either version 3 of the License, or 305 654 (at your option) any later version. 306 655 … … 310 659 GNU General Public License for more details. 311 660 312 You should have received a copy of the GNU General Public License along 313 with this program; if not, write to the Free Software Foundation, Inc., 314 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 661 You should have received a copy of the GNU General Public License 662 along with this program. If not, see <http://www.gnu.org/licenses/>. 315 663 316 664 Also add information on how to contact you by electronic and paper mail. 317 665 318 If the program is interactive, make it output a short notice like this 319 when it starts in an interactive mode:320 321 Gnomovision version 69, Copyright (C) year name of author322 Gnomovisioncomes with ABSOLUTELY NO WARRANTY; for details type `show w'.666 If the program does terminal interaction, make it output a short 667 notice like this when it starts in an interactive mode: 668 669 <program> Copyright (C) <year> <name of author> 670 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 323 671 This is free software, and you are welcome to redistribute it 324 672 under certain conditions; type `show c' for details. 325 673 326 674 The hypothetical commands `show w' and `show c' should show the appropriate 327 parts of the General Public License. Of course, the commands you use may 328 be called something other than `show w' and `show c'; they could even be 329 mouse-clicks or menu items--whatever suits your program. 330 331 You should also get your employer (if you work as a programmer) or your 332 school, if any, to sign a "copyright disclaimer" for the program, if 333 necessary. Here is a sample; alter the names: 334 335 Yoyodyne, Inc., hereby disclaims all copyright interest in the program 336 `Gnomovision' (which makes passes at compilers) written by James Hacker. 337 338 <signature of Ty Coon>, 1 April 1989 339 Ty Coon, President of Vice 340 341 This General Public License does not permit incorporating your program into 342 proprietary programs. If your program is a subroutine library, you may 343 consider it more useful to permit linking proprietary applications with the 344 library. If this is what you want to do, use the GNU Lesser General 345 Public License instead of this License. 675 parts of the General Public License. Of course, your program's commands 676 might be different; for a GUI interface, you would use an "about box". 677 678 You should also get your employer (if you work as a programmer) or school, 679 if any, to sign a "copyright disclaimer" for the program, if necessary. 680 For more information on this, and how to apply and follow the GNU GPL, see 681 <http://www.gnu.org/licenses/>. 682 683 The GNU General Public License does not permit incorporating your program 684 into proprietary programs. If your program is a subroutine library, you 685 may consider it more useful to permit linking proprietary applications with 686 the library. If this is what you want to do, use the GNU Lesser General 687 Public License instead of this License. But first, please read 688 <http://www.gnu.org/philosophy/why-not-lgpl.html>. -
trunk/debirf/debian/changelog
r775 r778 1 debirf (0.10) unstable; urgency=low 2 3 * moved all files to GPLv3 (fixes ticket #50) 4 * simplify kernel installation. now accept deb at command line, or make-debirf will just figure out the kernel himself (closes #48) 5 6 -- Jameson Rollins <jrollins@fifthhorseman.net> Tue, 11 Dec 2007 00:51:52 -0500 7 1 8 debirf (0.9) unstable; urgency=low 2 9 -
trunk/debirf/debian/control
r747 r778 13 13 Recommends: kernel-package, linux-patch-inittmpfs 14 14 Description: build a kernel and initrd to run Debian from RAM 15 debirf (D ebian on Initial Ram Filesystem) is a set of tools designed15 debirf (DEBian on Initial Ram Filesystem) is a set of tools designed 16 16 to create and prepare a kernel and initial ram filesystem that can 17 17 run a full-blown Debian environment entirely from RAM. -
trunk/debirf/debian/copyright
r361 r778 9 9 Copyright: 2007 Daniel Kahn Gillmor and Jameson Rollins 10 10 11 License: debirf is distributed under the GNU GPL v 2or later11 License: debirf is distributed under the GNU GPL v3 or later 12 12 (see /usr/share/common-licenses/GPL) -
trunk/debirf/docs/example-profiles/minimal/debirf.conf
r775 r778 18 18 #DEBIRF_DISTRO="lenny" 19 19 20 # kernel, either a package name, or a path to a .deb21 # in either case, it must be a package or deb for a complete kernel,22 # not a metapackage.23 #DEBIRF_KERNEL_PACKAGE="linux-image-2.6.22-3-686"24 25 20 # proxy 26 21 #export http_proxy=http://localhost:3128/ -
trunk/debirf/docs/example-profiles/rescue/debirf.conf
r775 r778 18 18 #DEBIRF_DISTRO="lenny" 19 19 20 # kernel, either a package name, or a path to a .deb21 # in either case, it must be a package or deb for a complete kernel,22 # not a metapackage.23 #DEBIRF_KERNEL_PACKAGE="linux-image-2.6.22-3-686"24 25 20 # proxy 26 21 #export http_proxy=http://localhost:3128/ -
trunk/debirf/docs/example-profiles/xkiosk/debirf.conf
r775 r778 18 18 #DEBIRF_DISTRO="lenny" 19 19 20 # kernel, either a package name, or a path to a .deb21 # in either case, it must be a package or deb for a complete kernel,22 # not a metapackage.23 #DEBIRF_KERNEL_PACKAGE="linux-image-2.6.22-3-686"24 25 20 # proxy 26 21 #export http_proxy=http://localhost:3128/ -
trunk/debirf/fs/usr/bin/build-debirf-kernel
r393 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 CMD=$(basename $0) -
trunk/debirf/fs/usr/bin/make-debirf
r775 r778 8 8 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 9 9 # 10 # They are Copyright 2007, and are all released under the GPL, version 211 # or later.10 # They are Copyright 2007, and are all released under the GPL, 11 # version 3 or later. 12 12 13 13 ############################################################### … … 29 29 usage() { 30 30 cat <<EOF 31 Usage: $CMD [options] profile [kernel] 32 Create a debirf system. 'profile' is a path to a debirf profile 33 directory. If a kernel is specified, it will override the kernel 34 specified in the profile debirf.conf. 31 Usage: $CMD [options] profile [kernel.deb] 32 Create a debirf system. The 'profile' is a path to a debirf profile 33 directory. If no kernel is specified, make-debirf will use the 34 latest kernel for the specified suite. If a path to a kernel deb is 35 specified on the command line, that will be installed instead. 35 36 36 37 options: … … 320 321 if [ "$STAGE_ROOT" = 'true' ] ; then 321 322 322 # check specified kernel package exists323 # check if specified kernel package exists 323 324 if [ ! -f "$DEBIRF_KERNEL_PACKAGE" ] ; then 324 if apt-cache show "$DEBIRF_KERNEL_PACKAGE" > /dev/null ; then 325 echo "Using apt kernel package '$DEBIRF_KERNEL_PACKAGE'." 326 else 327 failure "Specified kernel package '$DEBIRF_KERNEL_PACKAGE' not found." 328 fi 329 else 330 echo "Using deb kernel package '$DEBIRF_KERNEL_PACKAGE'." 325 failure "Kernel package '$DEBIRF_KERNEL_PACKAGE' not found." 331 326 fi 332 327 -
trunk/debirf/fs/usr/share/debirf/common
r747 r778 10 10 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 11 11 # 12 # They are Copyright 2007, and are all released under the GPL, version 213 # or later.12 # They are Copyright 2007, and are all released under the GPL, 13 # version 3 or later. 14 14 15 15 ############################################################### -
trunk/debirf/fs/usr/share/debirf/debirf.conf.defaults
r775 r778 18 18 # what distribution should debirf be built from? 19 19 DEBIRF_DISTRO=${DEBIRF_DISTRO:-"lenny"} 20 21 # kernel, either a package name, or a path to a .deb22 # in either case, it must be a package or deb for a complete kernel,23 # not a metapackage.24 DEBIRF_KERNEL_PACKAGE=${DEBIRF_KERNEL_PACKAGE:-"linux-image-2.6.22-3-686"} -
trunk/debirf/fs/usr/share/debirf/plugins/a0_motd
r690 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 cat > "${DEBIRF_ROOT}/etc/motd.tail" <<EOF -
trunk/debirf/fs/usr/share/debirf/plugins/a0_prep-root
r731 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 # write all the debirf environment variables to the on-root debirf config file -
trunk/debirf/fs/usr/share/debirf/plugins/apt-get-disk-rescue
r720 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 debirf_exec apt-get --assume-yes install less moreutils lvm2 mdadm lsof screen hdparm smartmontools pciutils -
trunk/debirf/fs/usr/share/debirf/plugins/bootlog
r393 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 cat > "$DEBIRF_ROOT"/etc/default/bootlogd <<EOF -
trunk/debirf/fs/usr/share/debirf/plugins/hostname
r393 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 echo "$DEBIRF_LABEL" > "$DEBIRF_ROOT"/etc/hostname -
trunk/debirf/fs/usr/share/debirf/plugins/install-kernel
r773 r778 1 #!/bin/bash 1 #!/bin/bash 2 2 3 3 # debirf plugin: install-kernel … … 13 13 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 14 14 # 15 # They are Copyright 2007, and are all released under the GPL, version 216 # or later.15 # They are Copyright 2007, and are all released under the GPL, 16 # version 3 or later. 17 17 18 18 if [ -f "$DEBIRF_KERNEL_PACKAGE" ] ; then 19 KNAME=$(basename "$DEBIRF_KERNEL_PACKAGE")20 cp "$DEBIRF_KERNEL_PACKAGE" "$DEBIRF_ROOT /$KNAME"19 # install kernel deb if given at command line 20 cp "$DEBIRF_KERNEL_PACKAGE" "$DEBIRF_ROOT"/var/cache/apt/archives/ 21 21 else 22 debirf_exec aptitude download "$DEBIRF_KERNEL_PACKAGE" 23 KNAME=$(basename "$DEBIRF_ROOT"/linux-image-*) 22 # otherwise, try to figure out the kernel to install 23 # assume arch of build host 24 KERNEL_ARCH=$(uname -r | cut -f 3 -d '-') 25 debirf_exec aptitude install --download-only linux-image-2.6-"$KERNEL_ARCH" 24 26 fi 25 27 26 # install the module init tools, since they are needed 28 KNAME=$(basename "$DEBIRF_ROOT"/var/cache/apt/archives/linux-image-*) 29 30 echo "extracting kernel package $KNAME..." 31 debirf_exec dpkg --extract /var/cache/apt/archives/"$KNAME" / 32 33 # install the module init tools, since they are needed for depmod 27 34 debirf_exec apt-get --assume-yes install module-init-tools 28 35 29 echo "extracting kernel package $KNAME..." 30 debirf_exec dpkg --extract "$KNAME" / 31 36 # depmod to create module list 32 37 KERNEL_VERS=$(ls -1 "$DEBIRF_ROOT/lib/modules" | head -n1) 33 34 # depmod to create module list35 38 echo "generating modules.dep..." 36 39 debirf_exec depmod -a "$KERNEL_VERS" 37 38 rm "$DEBIRF_ROOT/$KNAME"39 40 40 41 # extract kernel and debian stock initrd: -
trunk/debirf/fs/usr/share/debirf/plugins/install-udev
r771 r778 10 10 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 11 11 # 12 # They are Copyright 2007, and are all released under the GPL, version 213 # or later.12 # They are Copyright 2007, and are all released under the GPL, 13 # version 3 or later. 14 14 15 15 debirf_exec apt-get --assume-yes install udev -
trunk/debirf/fs/usr/share/debirf/plugins/interfaces
r772 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 312 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 cat > "${DEBIRF_ROOT}/etc/network/interfaces" <<EOF -
trunk/debirf/fs/usr/share/debirf/plugins/root-bashrc
r686 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 cat > "$DEBIRF_ROOT"/root/.bashrc <<EOF -
trunk/debirf/fs/usr/share/debirf/plugins/serial-terminal
r747 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 INITTAB="$DEBIRF_ROOT/etc/inittab" -
trunk/debirf/fs/usr/share/debirf/plugins/xkiosk
r753 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 312 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 ### download needed packages -
trunk/debirf/fs/usr/share/debirf/plugins/z0_remove-locales
r719 r778 8 8 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 9 9 # 10 # They are Copyright 2007, and are all released under the GPL, version 211 # or later.10 # They are Copyright 2007, and are all released under the GPL, 11 # version 3 or later. 12 12 13 13 cd "$DEBIRF_ROOT" -
trunk/debirf/fs/usr/share/debirf/plugins/z1_clean-root
r770 r778 9 9 # Daniel Kahn Gillmor <dkg-debian.org@fifthhorseman.net>. 10 10 # 11 # They are Copyright 2007, and are all released under the GPL, version 212 # or later.11 # They are Copyright 2007, and are all released under the GPL, 12 # version 3 or later. 13 13 14 14 # purge unneeded packages
Note: See TracChangeset
for help on using the changeset viewer.

