(CommandList children: [ (FuncDef name: pause body: (BraceGroup children: [(C {(echo)} {(-n)} {(DQ ('Press enter to continue...'))}) (C {(read)} {(zzz)})] spids: [16] ) spids: [10 15] ) (FuncDef name: log_ver body: (BraceGroup children: [ (C {(touch)} {(${ VSub_Name BUILD_LOG)}) (Pipeline children: [ (Subshell child: (CommandList children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(-f)} {(/etc/DISTRO_SPECS)} {(Lit_Other ']')}) terminator: <Op_Semi ';'> ) ] action: [ (C {(.)} {(/etc/DISTRO_SPECS)}) (C {(echo)} { (DQ ($ VSub_Name '$DISTRO_NAME') (' ') ($ VSub_Name '$DISTRO_VERSION') (' [') (CommandSubPart command_list: (CommandList children:[(C {(uname)} {(-m)})]) left_token: <Left_CommandSub '$('> spids: [81 85] ) (']') ) } ) ] spids: [16777215 66] ) ] spids: [16777215 90] ) (Pipeline children: [(C {(gcc)} {(--version)}) (C {(head)} {(-1)})] negated: F ) (Pipeline children: [(C {(git)} {(--version)}) (C {(head)} {(-1)})] negated: F ) (Pipeline children: [(C {(mksquashfs)} {(-version)}) (C {(head)} {(-1)})] negated: F ) (C {(echo)}) ] ) spids: [51 129] ) (C {(tee)} {(-a)} {(${ VSub_Name BUILD_LOG)}) ] negated: F ) ] spids: [41] ) spids: [35 40] ) (FuncDef name: config_is_set body: (BraceGroup children: [ (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(DQ ($ VSub_Number '$1'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:opt) op: Equal rhs: {($ VSub_Number '$1')} spids: [182] ) (assign_pair lhs: (LhsName name:file) op: Equal rhs: {($ VSub_Number '$2')} spids: [185] ) ] spids: [180] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(grep)} {(-q)} {(-E)} {(DQ ('^') (${ VSub_Name opt) ('=y|^') (${ VSub_Name opt) ('=m'))} {(DQ ($ VSub_Name '$file'))} ) terminator: <Op_Semi ';'> ) ] action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})] spids: [16777215 215] ) ] else_action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})] spids: [223 231] ) ] spids: [154] ) spids: [148 153] ) (FuncDef name: config_set body: (BraceGroup children: [ (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(DQ ($ VSub_Number '$1'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$2'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$3'))} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)}) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:type) op: Equal rhs: {($ VSub_Number '$1')} spids: [289] ) (assign_pair lhs: (LhsName name:opt) op: Equal rhs: {($ VSub_Number '$2')} spids: [292] ) (assign_pair lhs: (LhsName name:file) op: Equal rhs: {($ VSub_Number '$3')} spids: [295] ) (assign_pair lhs:(LhsName name:t) op:Equal spids:[298]) ] spids: [287] ) (Case to_match: {($ VSub_Name '$type')} arms: [ (case_arm pat_list: [{(builtin)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:t) op:Equal rhs:{(SQ <y>)} spids:[311])] spids: [311] ) ] spids: [308 309 316 16777215] ) (case_arm pat_list: [{(custom)}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:t) op:Equal rhs:{(SQ <c>)} spids:[322])] spids: [322] ) ] spids: [319 320 327 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (Assignment keyword: Assign_None pairs: [(assign_pair lhs:(LhsName name:t) op:Equal rhs:{(SQ <m>)} spids:[336])] spids: [336] ) ] spids: [333 334 341 16777215] ) ] spids: [301 305 347] ) (C {(sed)} {(-i)} {(-e)} { (DQ ('s|# ') ($ VSub_Name '$opt') (' .*|') (${ VSub_Name opt) ('=') (${ VSub_Name t) ('|')) } {(-e)} {(DQ ('s|^') ($ VSub_Name '$opt') ('=.*|') (${ VSub_Name opt) ('=') (${ VSub_Name t) ('|'))} {(DQ ($ VSub_Name '$file'))} ) ] spids: [251] ) spids: [245 250] ) (FuncDef name: config_unset body: (BraceGroup children: [ (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(DQ ($ VSub_Number '$1'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:opt) op: Equal rhs: {($ VSub_Number '$1')} spids: [429] ) (assign_pair lhs: (LhsName name:file) op: Equal rhs: {($ VSub_Number '$2')} spids: [432] ) ] spids: [427] ) (C {(sed)} {(-i)} {(-e)} {(DQ ('s|^') (${ VSub_Name opt) ('=y|# ') ($ VSub_Name '$opt') (' is not set|'))} {(-e)} {(DQ ('s|^') (${ VSub_Name opt) ('=m|# ') ($ VSub_Name '$opt') (' is not set|'))} {(DQ ($ VSub_Name '$file'))} ) ] spids: [401] ) spids: [395 400] ) (FuncDef name: config_toggle body: (BraceGroup children: [ (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(DQ ($ VSub_Number '$1'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:opt) op: Equal rhs: {($ VSub_Number '$1')} spids: [507] ) (assign_pair lhs: (LhsName name:file) op: Equal rhs: {($ VSub_Number '$2')} spids: [510] ) ] spids: [505] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(config_is_set)} {($ VSub_Name '$opt')} {(DQ ($ VSub_Name '$file'))}) terminator: <Op_Semi ';'> ) ] action: [(C {(config_unset)} {($ VSub_Name '$opt')} {(DQ ($ VSub_Name '$file'))})] spids: [16777215 526] ) ] else_action: [ (C {(config_set)} {(module)} {($ VSub_Name '$opt')} {(DQ ($ VSub_Name '$file'))}) ] spids: [538 552] ) ] spids: [479] ) spids: [473 478] ) (FuncDef name: config_delete body: (BraceGroup children: [ (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(DQ ($ VSub_Number '$1'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:opt) op: Equal rhs: {($ VSub_Number '$1')} spids: [591] ) (assign_pair lhs: (LhsName name:file) op: Equal rhs: {($ VSub_Number '$2')} spids: [594] ) ] spids: [589] ) (C {(sed)} {(-i)} {(-e)} {(DQ ('/^') (${ VSub_Name opt) ('=y/d'))} {(-e)} {(DQ ('/ ') (${ VSub_Name opt) (' /d'))} {(DQ ($ VSub_Name '$file'))} ) ] spids: [563] ) spids: [557 562] ) (FuncDef name: config_get_builtin body: (BraceGroup children: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(SQ <'=y'>)} {(DQ ($ VSub_Number '$1'))}) (C {(cut)} {(-f1)} {(-d)} {(SQ <'='>)}) ] negated: F ) terminator: <Op_Semi ';'> ) ] spids: [638] ) spids: [632 637] ) (FuncDef name: config_get_module body: (BraceGroup children: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(SQ <'=m'>)} {(DQ ($ VSub_Number '$1'))}) (C {(cut)} {(-f1)} {(-d)} {(SQ <'='>)}) ] negated: F ) terminator: <Op_Semi ';'> ) ] spids: [672] ) spids: [666 671] ) (FuncDef name: config_get_set body: (BraceGroup children: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(-E)} {(SQ <'=m|=y'>)} {(DQ ($ VSub_Number '$1'))}) (C {(cut)} {(-f1)} {(-d)} {(SQ <'='>)}) ] negated: F ) terminator: <Op_Semi ';'> ) ] spids: [706] ) spids: [700 705] ) (FuncDef name: config_get_unset body: (BraceGroup children: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(SQ <'not set'>)} {(DQ ($ VSub_Number '$1'))}) (C {(cut)} {(-f2)} {(-d)} {(SQ <' '>)}) ] negated: F ) terminator: <Op_Semi ';'> ) ] spids: [742] ) spids: [736 741] ) (FuncDef name: fix_config body: (BraceGroup children: [ (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(DQ ($ VSub_Number '$1'))} {(-o)} {(KW_Bang '!')} {(DQ ($ VSub_Number '$2'))} {(Lit_Other ']')} ) (ControlFlow token:<ControlFlow_Return return>) ] ) (Assignment keyword: Assign_Local pairs: [ (assign_pair lhs: (LhsName name:file) op: Equal rhs: {($ VSub_Number '$1')} spids: [811] ) (assign_pair lhs: (LhsName name:fixed_opts) op: Equal rhs: {($ VSub_Number '$2')} spids: [814] ) ] spids: [809] ) (Subshell child: (Pipeline children: [ (C {(cat)} {($ VSub_Name '$fixed_opts')}) (C {(sed)} {(-e)} {(SQ <'s| is not set||'>)} {(-e)} {(SQ <'/^$/d'>)} {(-e)} {(SQ <'/##/d'>)} ) (WhileUntil keyword: <KW_While while> cond: [(Sentence child:(C {(read)} {(line)}) terminator:<Op_Semi ';'>)] body: (DoGroup children: [ (Case to_match: {($ VSub_Name '$line')} arms: [ (case_arm pat_list: [{(Lit_Other '*') (SQ <'=m'>)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:C_OPT) op: Equal rhs: { (BracedVarSub token: <VSub_Name line> suffix_op: (StringUnary op_id: VOp1_Percent arg_word: {('=*')} ) spids: [876 880] ) } spids: [875] ) ] spids: [875] ) terminator: <Op_Semi ';'> ) (C {(echo)} { (DQ ('s%.*') (${ VSub_Name C_OPT) ('.*%') (${ VSub_Name C_OPT) ('=m%') ) } ) ] spids: [869 873 898 16777215] ) (case_arm pat_list: [{(Lit_Other '*') (SQ <'=y'>)}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:C_OPT) op: Equal rhs: { (BracedVarSub token: <VSub_Name line> suffix_op: (StringUnary op_id: VOp1_Percent arg_word: {('=*')} ) spids: [908 912] ) } spids: [907] ) ] spids: [907] ) terminator: <Op_Semi ';'> ) (C {(echo)} { (DQ ('s%.*') (${ VSub_Name C_OPT) ('.*%') (${ VSub_Name C_OPT) ('=y%') ) } ) ] spids: [901 905 930 16777215] ) (case_arm pat_list: [{(Lit_Other '*')}] action: [ (Sentence child: (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:C_OPT) op: Equal rhs: { (BracedVarSub token: <VSub_Name line> suffix_op: (Slice begin: (ArithWord w:{(Lit_Digits 2)}) ) spids: [937 941] ) } spids: [936] ) ] spids: [936] ) terminator: <Op_Semi ';'> ) (C {(echo)} { (DQ ('s%.*') (${ VSub_Name C_OPT) ('.*%# ') (${ VSub_Name C_OPT) (' is not set%') ) } ) ] spids: [933 934 959 16777215] ) ] spids: [862 866 962] ) ] spids: [859 965] ) ) ] negated: F ) redirects: [(Redir op:<Redir_Great '>'> fd:16777215 arg_word:{(/tmp/ksed.file)})] spids: [818 968] ) (C {(cp)} {(DQ ($ VSub_Number '$1'))} {(DQ ($ VSub_Number '$1')) (.orig)}) (C {(sed)} {(-i)} {(-f)} {(/tmp/ksed.file)} {(DQ ($ VSub_Number '$1'))}) ] spids: [783] ) spids: [777 782] ) (FuncDef name: set_pae body: (BraceGroup children: [ (C {(config_set)} {(builtin)} {(CONFIG_X86_PAE)} {($ VSub_Number '$1')}) (C {(config_set)} {(builtin)} {(CONFIG_HIGHMEM64G)} {($ VSub_Number '$1')}) (C {(config_unset)} {(CONFIG_HIGHMEM4G)} {($ VSub_Number '$1')}) ] spids: [1022] ) spids: [1016 1021] ) (FuncDef name: unset_pae body: (BraceGroup children: [ (C {(config_delete)} {(CONFIG_X86_PAE)} {($ VSub_Number '$1')}) (C {(config_unset)} {(CONFIG_HIGHMEM64G)} {($ VSub_Number '$1')}) (C {(config_set)} {(builtin)} {(CONFIG_HIGHMEM4G)} {($ VSub_Number '$1')}) ] spids: [1065] ) spids: [1059 1064] ) (FuncDef name: set_i486 body: (BraceGroup children: [ (C {(config_set)} {(builtin)} {(CONFIG_M486)} {($ VSub_Number '$1')}) (ForEach iter_name: i iter_words: [ {(CONFIG_M386)} {(CONFIG_M686)} {(CONFIG_M586)} {(CONFIG_M586TSC)} {(CONFIG_M586MMX)} {(CONFIG_MPENTIUMII)} {(CONFIG_MPENTIUMIII)} {(CONFIG_MPENTIUMM)} {(CONFIG_MPENTIUM4)} {(CONFIG_MK6)} {(CONFIG_MK7)} {(CONFIG_MK8)} {(CONFIG_MCRUSOE)} {(CONFIG_MEFFICEON)} {(CONFIG_MWINCHIPC6)} {(CONFIG_MWINCHIP3D)} {(CONFIG_MELAN)} {(CONFIG_MGEODEGX1)} {(CONFIG_MGEODE_LX)} {(CONFIG_MCYRIXIII)} {(CONFIG_MVIAC3_2)} {(CONFIG_MVIAC7)} {(CONFIG_MCORE2)} {(CONFIG_MATOM)} ] do_arg_iter: F body: (DoGroup children: [(C {(config_unset)} {($ VSub_Name '$i')} {($ VSub_Number '$1')})] spids: [1169 1179] ) spids: [1119 16777215] ) ] spids: [1102] ) spids: [1096 1101] ) (FuncDef name: set_i686 body: (BraceGroup children: [ (C {(config_set)} {(builtin)} {(CONFIG_M686)} {($ VSub_Number '$1')}) (ForEach iter_name: i iter_words: [ {(CONFIG_M386)} {(CONFIG_M486)} {(CONFIG_M586)} {(CONFIG_M586TSC)} {(CONFIG_M586MMX)} {(CONFIG_MPENTIUMII)} {(CONFIG_MPENTIUMIII)} {(CONFIG_MPENTIUMM)} {(CONFIG_MPENTIUM4)} {(CONFIG_MK6)} {(CONFIG_MK7)} {(CONFIG_MK8)} {(CONFIG_MCRUSOE)} {(CONFIG_MEFFICEON)} {(CONFIG_MWINCHIPC6)} {(CONFIG_MWINCHIP3D)} {(CONFIG_MELAN)} {(CONFIG_MGEODEGX1)} {(CONFIG_MGEODE_LX)} {(CONFIG_MCYRIXIII)} {(CONFIG_MVIAC3_2)} {(CONFIG_MVIAC7)} {(CONFIG_MCORE2)} {(CONFIG_MATOM)} ] do_arg_iter: F body: (DoGroup children: [(C {(config_unset)} {($ VSub_Name '$i')} {($ VSub_Number '$1')})] spids: [1260 1270] ) spids: [1210 16777215] ) ] spids: [1193] ) spids: [1187 1192] ) (FuncDef name: i386_specific_stuff body: (BraceGroup children: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$HOST_ARCH'))} {(Lit_Other '=')} {(DQ (x86))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$x86_disable_pae'))} {(Lit_Other '=')} {(DQ (yes))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(grep)} {(SQ <'CONFIG_X86_PAE=y'>)} {(.config)}) terminator: <Op_Semi ';'> ) ] action: [ (C {(log_msg)} {(DQ ('Disabling PAE...'))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKEOLDCONFIG) op: Equal rhs: {(1)} spids: [1360] ) ] spids: [1360] ) (C {(unset_pae)} {(.config)}) ] spids: [16777215 1347] ) ] spids: [16777215 1369] ) ] spids: [16777215 1332] ) ] spids: [16777215 1372] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$x86_enable_pae'))} {(Lit_Other '=')} {(DQ (yes))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(SQ <'CONFIG_X86_PAE=y'>)} {(.config)}) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (C {(log_msg)} {(DQ ('Enabling PAE...'))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKEOLDCONFIG) op: Equal rhs: {(1)} spids: [1420] ) ] spids: [1420] ) (C {(set_pae)} {(.config)}) ] spids: [16777215 1410] ) ] spids: [16777215 1429] ) ] spids: [16777215 1393] ) ] spids: [16777215 1432] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$x86_set_i486'))} {(Lit_Other '=')} {(DQ (yes))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(grep)} {(-q)} {(SQ <'CONFIG_OUTPUT_FORMAT="elf32-i386"'>)} {(.config)} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(-q)} {(SQ <'CONFIG_M486=y'>)} {(.config)} ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (C {(log_msg)} {(DQ ('Forcing i486...'))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKEOLDCONFIG) op: Equal rhs: {(1)} spids: [1499] ) ] spids: [1499] ) (C {(set_i486)} {(.config)}) ] spids: [16777215 1489] ) ] spids: [16777215 1508] ) ] spids: [16777215 1470] ) ] spids: [16777215 1511] ) ] spids: [16777215 1453] ) ] spids: [16777215 1514] ) (If arms: [ (if_arm cond: [ (Sentence child: (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$x86_set_i686'))} {(Lit_Other '=')} {(DQ (yes))} {(Lit_Other ']')} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (C {(grep)} {(-q)} {(SQ <'CONFIG_OUTPUT_FORMAT="elf32-i386"'>)} {(.config)} ) terminator: <Op_Semi ';'> ) ] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (Pipeline children: [ (C {(grep)} {(-q)} {(SQ <'CONFIG_M686=y'>)} {(.config)} ) ] negated: T ) terminator: <Op_Semi ';'> ) ] action: [ (C {(log_msg)} {(DQ ('Forcing i686...'))}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:MAKEOLDCONFIG) op: Equal rhs: {(1)} spids: [1581] ) ] spids: [1581] ) (C {(set_i686)} {(.config)}) ] spids: [16777215 1571] ) ] spids: [16777215 1590] ) ] spids: [16777215 1552] ) ] spids: [16777215 1593] ) ] spids: [16777215 1535] ) ] spids: [16777215 1596] ) (AndOr ops: [Op_DAmp] children: [ (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$MAKEOLDCONFIG'))} {(KW_Bang '!') (Lit_Other '=')} {(DQ )} {(Lit_Other ']')} ) (C {(make)} {(silentoldconfig)}) ] ) ] spids: [16777215 1311] ) ] spids: [16777215 1620] ) ] spids: [1290] ) spids: [1284 1289] ) ] )